Currently, if this template is placed inside a div (for example, to float it to the right), the "See or edit source data" sentence ends up next to the graph instead of below it. This can be fixed by either wrapping the section in <div>...</div>
, or by replacing <small>...</small>
with <div style="font-size: 85%">...</p>
.
Template talk:Graph:Stacked
Hello,
It would be amazing to skip the first column (a specific x / specific data row) in this graph. Is it supported?
{{Graph:Stacked |title = Website visits by duration |table = ItWikiCon/2020/WebsiteVisitsByDurationAll.tab |type = ordinal |xField = duration |series = "visits" }}
Used in meta:ItWikiCon/2020/Under the hood of a cozy online conference#Stats.
I've recently added filter parameter similar to one from Template:Graph:Population_history. So now you could filter out first bar by simply adding |filter= datum.row > 0 Complete example will look like
{{Graph:Stacked |title = Website visits by duration |table = ItWikiCon/2020/WebsiteVisitsByDurationAll.tab |type = ordinal |xField = duration |series = "visits" |barwidth=50 |filter= datum.row > 0 }}
Currently this snippet definitely works on mediawiki, but probably will not work on other wikies until recent changes will be manually synced there.
This is amazing. Thank you for your work!
Hello, how can I swap the axis so that I get a chart like de:User:QXK/Timeline? --~~~~
There are no older topics