Zen33 / vue-sparklines

Sparkline chart built with Vue.
MIT License
66 stars 23 forks source link

Bar chart breaks when data is lesser than defined limit #12

Closed nobalmohan closed 2 years ago

nobalmohan commented 3 years ago

I am using vue-spartlines in a loop with prop limit:10. But one of the graphs has only 2 entries instead of 10. Whenever the graph data is lesser than the limit the chart is broken. If data < limit then the graph looks skewed!

Here bar for F:40.5% is way lower than the bar M:59.49%

Screen Shot 2021-01-12 at 6 58 56 PM Screen Shot 2021-01-12 at 6 59 30 PM

Zen33 commented 3 years ago

Could you provide the codes that reproduce current problem? Thanks.

Zen33 commented 2 years ago

No further reply received, so close this case.