fl_chart icon indicating copy to clipboard operation
fl_chart copied to clipboard

Dithering bug

Open Artein opened this issue 8 months ago • 3 comments

Don't create a duplicate issue. No similar open issue was found.

Describe the bug LinearChart and PieChart (probably other charts as well) constantly change the size by a few pixels, creating a dithering appearance.

To Reproduce Use values with very long fractional parts (high precision), such as 0.124325346342756236. Edit: Well, seems like the issue is not in that. My LinearChart uses small integers (DateTime.weekday as X, and [0; 12] as Y). Edit 2: Lowering precision in PieChart values also didn't help.

Screenshots https://github.com/imaNNeo/fl_chart/assets/1109722/8e0899d0-ca0c-4ef5-b59b-9536ddd67e75 The effect can be seen in the center of PieChart (kinda a starting line from which bottom part shifts down and up a bit), and on horizontal values of LiniearChart (especially on values between Thu and Sun)

Versions Flutter: 3.19.6 FlChart: 0.68.0

Artein avatar Jun 30 '24 07:06 Artein