I'm trying to use the public show function of TrackballBehavior to move the trackball programmatically. If I don't use a builder in my TrackballBehavior it works as expected and can move the trackball. However, if I add a builder function it stops working (it will work one time only, and only if the trackball was not already showing before calling show()).
I made a button that just calls trackballBehavior.show(0, 0) and if I don't have a builder I can press the button and the trackball appears at (0,0), then I can tap somewhere else on the graph to move the trackball, and then if I press the button again it will go back to (0,0). If I DO have a builder I can press the button once and the trackball appears at (0,0), and then I can still tap somewhere else to move the trackball, but if I press the button again the trackball does not move back to (0,0).
So this works:
But this doesn't:
Hi Evan,
Greetings from Syncfusion.
We have checked your query at our end, and we can replicate the reported issue regarding the trackball tooltip with the builder not getting activated on its show method call after the trackball is dragged using user interaction.
We have considered this as a bug and created a bug report for it in our feedback portal. We will fix this and include the changes in our weekly patch release which is expected to be rolled out on 18th October 2022. We will update you once the release is rolled out and we appreciate your patience until then. You can also track the status of the bug using the feedback link below.
https://www.syncfusion.com/feedback/38080
Regards,
Sriram Kiran
Hi Evan,
We would like to let you know that the reported issue ‘Trackball tooltip with the builder not getting activated on its show method call after the trackball is dragged using user interaction’ was already fixed and rolled out in our weekly patch release on 18th October 2022. So, we kindly request you to upgrade the SfCartesianChart package to the latest version below.
Version link – https://pub.dev/packages/syncfusion_flutter_charts/versions/20.3.50
Regards,
Yuvaraj.