Open chshersh opened 2 years ago
Thanks! Accidentally pushed half the PR to main, but the latest commit, which will be 0.3.1, adds Stacked to the bar options (and fixed a bug in that I was using Vert/Hori opposite to their meaning. The example is:
writeChartSvg "other/sbar.svg" $ barChart (defaultBarOptions & set #barOrientation Hori & set #barStacked Stacked & #displayValues .~ False & #barRectStyles %~ (fmap (#borderSize .~ 0))) barDataExample
https://github.com/tonyday567/chart-svg/blob/main/other/sbar.svg
Really cool project and I really like the Examples module! 👏🏻
I was searching for different visualization methods and found out about this package. I would like to draw Horizontal Stacked Bar Charts but I see that the library currently doesn't support them.
I think it would be a cool feature to add 🙂
Visualiation example can be found here: