Trackball/tooltip Gets Removed When updateDataSource Updates Data

I'm developing a financial program on the Windows platform, where a websocket receives hundreds of data points per second from the backend. When updateDataSource is called, the Trackball/tooltip gets hidden. I found similar solutions in the forum (for example, using showByIndex, which causes severe flickering and does not display the crosshairBehavior—these drawbacks are unacceptable in my project). Are there better solutions for this issue in 2025?


Attachment: video_2b965e32.7z

2 Replies

PB Praveen Balu Syncfusion Team August 25, 2025 12:45 PM UTC

Hi qy wu,


According to our current implementation, the trackball, tooltip and crosshair are removed when adding or removing data points in the chart. However, we have already considered your request as a feature improvement and have recorded it on our feedback portal. We will prioritize the features of every release based on demand and priority.


We will prioritize the features of every release based on demand and priority. So, this feature will be available in any of our upcoming releases. You can also track the status of the feature with the feedback below.


FR Link: Provide support to update the tooltip position when the data is updated in real-time in Flutter | Feedback Portal


Regards,

Praveen Balu.



NI Nielsen Isaac August 28, 2025 08:00 AM UTC

It sounds like the main challenge is balancing real-time updates with maintaining the tooltip/trackball visibility without flicker. One approach is to throttle or batch the data updates instead of calling  for every single incoming data point. For example, you could aggregate updates  geometry dash over a short interval (e.g., 50–100 ms) and then refresh the chart once per interval. This usually keeps the trackball visible and prevents flickering. Another method is to manually preserve the tooltip/trackball state before the update and restore it immediately after—some charting libraries allow storing the current index and tooltip content so you can reapply it after the data refresh.


Loader.
Up arrow icon