Content deleted Content added
→'Y' axis maximum on stacked bar chart: no thumbs, but you can play with width and height, and even get smaller text by embedding it in a div with style="font-size:xx%"; |
→'Y' axis maximum on stacked bar chart: that's good |
||
Line 58:
| x legends = Before : During : After : Post mortem : Blah : Bloh
}}
{{rbox|Blue|#|Blue|White}} and {{rbox|Gold|#|Gold|Black}}
</div>
:::also, note that the module will refuse to draw a chart if either hight or width are less than 200 (i guess this could be changed...). total result is still somewhat larger than what you would normally call a "thumbnail". i also never found a good way to place the group legends - whatever i tried, i never found a trick to make them appear in the "right place" for all charts - if it works well with one chart, it doesn't with another. the compromise was to place them a bit far away - too far for most cases really, but if i place them closer they sometime overlap with the horizontal legends, and i did not find a good way to make it intelligent. (anyone is welcome to improve it).
:::peace - [[User:קיפודנחש|קיפודנחש (aka kipod)]] ([[User talk:קיפודנחש|talk]]) 14:11, 27 June 2013 (UTC)
::::That's very good. I played with something similar, but the font-size and overlap was the killer - never even thought of font-size:x% (duh...). I might be able to make that work. Thanks. The pseudo-thumbnail might not need group legends I suppose. How about an option to not display them "group names=none". Then we could drop coloured boxes/text in the template like: {{rbox|Blue|#|Blue|White}} and {{rbox|Gold|#|Gold|Black}} if the position was awful - see above ? <span style="font-family:Arial;font-weight:bold;color:#000;">[[User:Begoon|<span style="color:#0645AD;">Begoon</span>]] [[User talk:Begoon|<span style="color:gray;"><sup>talk</sup></span>]]</span> 14:25, 27 June 2013 (UTC)
|