react-timeseries-charts
react-timeseries-charts copied to clipboard
Zero data and minBarHeight=0 breaks multiple columns in BarChart
🐛Bug report
Describe the bug
When multiple columns are supplied for a BarChart, and minBarHeight={0} is used, then the first column that has 0 data will stop later columns rendering.
This happens because this line of code should continue, not break.
To Reproduce #364 has a good example that produces this.
Expected behavior Even when one bar is zero height, the other bars should render still.
Desktop (please complete the following information):
- OS: MacOS 10.14.6
- Browser Chrome
- Version 75.0.3770.142 64-bit
I have the same issue and the pull request will fix it