chartist
chartist copied to clipboard
Z-order with line chart
For Line charts, series-a will be rendered first, then series-b etc.
However, this makes line from series-a appear under line from series-b.
Isn't the reasonable assumption that series-a is "the most important" i.e. shouldn't it be on top?
For example, for Bar chart series-a is displayed leftmost.
Thanks!
I know this is an old post, but it's true. This becomes especially apparent when switching back and forth between a chart with a single series and a chart with 2 series (e.g. "this year's sales" / "this year's sales vs last year's sales").
One can't simply reverse the order of series provided to Chartist because then the colors also change.