问题
I want to disable the animations that are on in the charts in LightningChart JS. How can I do that?
回答1:
Disabling animations depends on which animations you want to disable.
To disable axis scrolling animation you can use: axis.setAnimationScroll(undefined)
setAnimationScroll
For xy chart axis zooming axis.setAnimationZoom(undefined)
setAnimationZoom
For Funnel, Pyramid, Spider, Pie and Gauge charts. chart.setAnimationsEnabled(false)
来源:https://stackoverflow.com/questions/57370680/how-to-disable-animations-for-charts-in-lightningchart-js