How to disable animations for charts in LightningChart JS?

I want to disable the animations that are on in the charts in LightningChart JS. How can I do that?

Answers:

Answer

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)

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us Javascript

©2020 All rights reserved.