Page MenuHomePhabricator

[4.1.6.154] Regression: Pie chart in "English language" article is not displayed correctly
Closed, ResolvedPublic

Assigned To
None
Authored By
Etonkovidova
Jul 7 2015, 12:11 AM
Referenced Files
F287426: Screen Shot 2015-07-30 at 1.01.44 PM.png
Jul 30 2015, 8:15 PM
F287414: IMG_0257.PNG
Jul 30 2015, 8:12 PM
F189446: IMG_0242 (2).PNG
Jul 7 2015, 12:11 AM
F189448: IMG_0241.PNG
Jul 7 2015, 12:11 AM

Description

In English language article go to Geographical distribution section - the pie chart is not displayed correctly:

IMG_0241.PNG (2×1 px, 448 KB)

{{Pie chart
|caption=Pie chart showing the percentage of native English speakers living in "inner circle" English-speaking countries. Native speakers are now substantially outnumbered worldwide by second-language speakers of English (not counted in this chart).
|other=yes
|value1={{#expr:231/359*100 round 1}}
|label1=US
|color1=#BB133E
|value2={{#expr:60/359*100 round 1}}
|label2=UK
|color2=#00247D
|value3={{#expr:19/359*100 round 1}}
|label3=Canada
|color3=#CC0000
|value4={{#expr:17/359*100 round 1}}
|label4=Australia
|color4=#002B7F
|value5={{#expr:4.8/359*100 round 1}}
|label5=South Africa
|color5=#FCB514
|value6={{#expr:3.8/359*100 round 1}}
|label6=Ireland
|color6=#009A49
|value7={{#expr:3.7/359*100 round 1}}
|label7=New Zealand
|color7=#000066
}}

Note:

  • other pie charts, e.g. in Pie chart article, look ok.
  • Mobile Web displays the pie chart correctly:

IMG_0242 (2).PNG (2×1 px, 449 KB)

Event Timeline

Etonkovidova raised the priority of this task from to Needs Triage.
Etonkovidova updated the task description. (Show Details)
Etonkovidova subscribed.

Iirc this needs a css hack from common.css

Fixed in 4.1.7.171(release candidate) beta on iPad mini iOS 8.2
Note: Minor issue with the alignment of color boxes in the chart legend.

IMG_0257.PNG (2×1 px, 395 KB)

Etonkovidova set Security to None.