google / charts

https://pub.dev/packages/charts_flutter
Apache License 2.0
2.8k stars 1.2k forks source link

Vertical axis not resizing properly #714

Open aljkor opened 2 years ago

aljkor commented 2 years ago

I've noticed that when I remove all the lines or bars from the chart by clicking on the legend and then adding the line/bar with the highest value, the vertical axis does not resize properly to show the highest value.

image

image

image

As you can see in the photos, the highest blue bar is now at 3, but was previously at 5. If I add the red data again by clicking on the chart's legend, the chart is again normal (highest blue bar is again at 5).