fl_chart
fl_chart copied to clipboard
BarChart throws error when the y value of all bars is 0
Describe the bug Getting the below error when all the bars have 0 as there y-axis value in a BarChart- !offset.dx.isNaN && !offset.dy.isNaN "Offset argument contained a NaN value." error.log
To Reproduce To reproduce, pass all y values as 0 (empty graph)
Versions
- which version of the Flutter are you using? - 3.0.2
- which version of the FlChart are you using? - 0.51.0
Please check our latest version (0.55.0 at the moment). I checked and I couldn't reproduces.