fl_chart icon indicating copy to clipboard operation
fl_chart copied to clipboard

Tooltip display not consistently positioned across rods in BarChart.

Open frey1esm opened this issue 1 year ago • 1 comments

Tooltip display not consistently positioned across rods in BarChart.

IMG_9262

It seems as though the positioning is affected by the width of the rod. I am using margin -34 to put this inside the rod. Rod width is 30. The smaller the rod width, the less noticeable the position differences are. But even if I the tooltip is displayed above the rod, the distance between the tooltip and the top of the rod varies. It's not a big issue until the rod value is low. Then the tooltip starts to sink too low.

Similar but different than this issue: this issue #815

fl_chart version: 0.66.0 Flutter version 3.16.5

frey1esm avatar Jan 12 '24 21:01 frey1esm

Please provide a reproducible code

imaNNeo avatar Jan 22 '24 18:01 imaNNeo