LightningChartJS - Is it possible to enable cursor with ChartXY & AxisScrollStrategy (progressive)

Viewed 70
1 Answers

The behavior of disabling cursor while series is scrolling can be modified with the method ChartXY.setMouseInteractionsWhileScrolling

However, I looked into it and it turns out that there is a bug and this method is not working properly in latest version or v.3.0.1.

Here's a snippet that seems to achieve what you want in v.3.0.1

chartXY.setMouseInteractionsWhileZooming(true)

After next version v.3.4.0 we will have fixed the bug after which you should use the intended method setMouseInteractionsWhileScrolling, not "zooming".

EDIT: The fix will be postponed to version v.4.0.0 because it is a breaking change which could have a detrimental effect on existing user applications when they do a minor version update.

Related