Module talk:Chart: Difference between revisions

Content deleted Content added
Line 37:
Can the 'Y' axis maximum be controlled in a stacked bar?
 
For instance, see [http://en.wikipedia.org/w/index.php?title=[User:Begoon/sandbox/casualties&direction=next&oldid=561770236 this example]], where the 3rd chart (Total fatalities) has a large amount of "dead space" where it extends to 15,000,000 when 12,500,000 would be ample? I don't really understand why it does that, or if I can prevent it. Thanks. <span style="font-family:Arial;font-weight:bold;color:#000;">[[User:Begoon|<span style="color:#0645AD;">Begoon</span>]]&thinsp;[[User talk:Begoon|<span style="color:gray;"><sup>talk</sup></span>]]</span> 04:00, 27 June 2013 (UTC)
:it's always tricky to select a "round" number to serve as top y. i think anywhere between 1 and 1.5 (or 10 and 15, or 100 and 150 etc.) will use 1.5. the problem here is not just finding the appropriate top value, but also selecting the other y legends: for instance, if we would have selected 13 (or 13 million, for that matter), marking all the values of 1,2,3...12,13 would create too many marks, but nothing else seems very appropriate.
:i guess i could teach the module to accept the y-legend values manually, so the editor will be able to force values when the current logic of the module does not produce good results, but this won't happen before the end of the week. peace - [[User:קיפודנחש|קיפודנחש (aka kipod)]] ([[User talk:קיפודנחש|talk]]) 12:52, 27 June 2013 (UTC)