You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The Scatter chart in the image below does not clip the bubble.It considers only the data points. The ScatterChartData has a attribute called clipData , which checks if the data point is within the chart and then decides to clip it or not.
However, it doesn't consider the radius of the bubble and hence, even if the data point is inside, the bubble might be so big that it causes it to go outside the axis, which is not a good UI/UX.
To Reproduce
It is fairly easy to reproduce. Take any example of scatter chart and increase the radius until you see it cross the axis.
Screenshots
Possible Solution
So, currently we have clipped the bubble (see the topmost bubble), and it doesn't cross the chart, but it does cross the axis. So, what I feel would be a better idea is to crop clip the bubble inside the chart. So, we get something like this
Here, the bubble doesn't cross the axis.
Versions
Flutter version: 2.10.0
fl_chart version: 0.41.0
The text was updated successfully, but these errors were encountered:
Describe the bug
The Scatter chart in the image below does not clip the bubble.It considers only the data points. The
ScatterChartData
has a attribute calledclipData
, which checks if the data point is within the chart and then decides to clip it or not.However, it doesn't consider the radius of the bubble and hence, even if the data point is inside, the bubble might be so big that it causes it to go outside the axis, which is not a good UI/UX.
To Reproduce
It is fairly easy to reproduce. Take any example of scatter chart and increase the radius until you see it cross the axis.
Screenshots
Possible Solution
So, currently we have clipped the bubble (see the topmost bubble), and it doesn't cross the chart, but it does cross the axis. So, what I feel would be a better idea is to crop clip the bubble inside the chart. So, we get something like this
Here, the bubble doesn't cross the axis.
Versions
The text was updated successfully, but these errors were encountered: