open-innovations / oi-lume-viz

Lume Plugin that enables charting
https://open-innovations.github.io/oi-lume-viz/
5 stars 1 forks source link

Automatically set min and max values for x axis scale #6

Closed gilesdring closed 1 year ago

gilesdring commented 1 year ago

Logic

min is the smallest of 0 and the minimum of chart - smallest single if unstacked, smallest combined if stacked. max is the largest of 0 and the maximum of chart - biggest single if unstacked, biggest combined if stacked.