terezka / elm-charts

Create SVG charts in Elm.
https://www.elm-charts.org
BSD 3-Clause "New" or "Revised" License
711 stars 67 forks source link

stacking bars #76

Closed armatures closed 3 years ago

armatures commented 6 years ago

After poking around the code a bit, it looks like it might be possible to extend the viewActualBars function to allow for stacked bars instead of clustering them adjacent to one another on the x-axis. Does this make sense to add as an option in the Bars type alias?

Sorry I don't have much context about this project but I'm curious and interested. If that's a sensible API idea I'd happily hack on it a bit.

Thanks, and great work!