Hi, I'm implementing SfCartesianChart in my app, added scroll trackball behavior with ScrollController & it is working perfectly fine.
In the demo linked here, when the user scrolls the list to a particular item of the list, the trackball is scrolling to the item of the list as well. Currently, trackball is jumping straight to the month. I want the following behavior of trackball:
When the user scrolls the list to 15 Jun 2023, trackball should be between Jun & July.
OR, When the user scrolls the list to 15 May 2023, trackball should be between May & Apr.
The code for scroll listener and trackball behavior is attached below. Kindly reply asap.
Regards,
Arjun Mahar
Attachment:
graph_controller.dart_89f7baf9.zip