Summary:
Created a button to change the position of the trackball in the chart by calling showByIndex.
Expected behaviour:
Upon calling showByIndex, the position of the trackball changes to new position based on provided index.
Actual behaviour:
No change in trackball position in the chart, but onTrackballPositionChanging callback function is triggered with the newly requested position in the argument.
It used to work in syncfusion_flutter_charts v18.2.59 but somehow it is no longer working in syncfusion_flutter_charts v18.3.44
My trackballbehaviour:
_trackballBehavior = TrackballBehavior(
enable: true,
shouldAlwaysShow: true,
tooltipDisplayMode: TrackballDisplayMode.floatAllPoints,
tooltipSettings: InteractiveTooltip(
format: 'point.y',
),
activationMode: ActivationMode.singleTap,
tooltipAlignment: ChartAlignment.far,
);
this _trackBehaviour is set in SfCartesianChart with only 1 ScatterSeries.
the button merely calls the following
_trackballBehavior.showByIndex(index);
Again, it is all working before in 18.2.59 before.
Many thanks for the good work! Please kindly let me know if there is anything I have missed out in this new 18.3.44.
Henry