Jump to content
GreenSock

nosniktar

Draggable disables Chart.js animation?

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hi, folks

 

Been using GSAP for a year or so and love it.

Recently been working on some graphs using Chart.js and draggable (in a dashboard)

For some reason when i apply draggable it stops the Chart.js animation from working.

If i remove the draggable creation the Graphs animate fine.

 

Any Ideas ??

Link to comment
Share on other sites

Hi and welcome to the GreenSock forums,

 

Sorry to hear you are having problems. I'm not familiar with Chart.js or why Draggable would cause a conflict.

Please provide a very simple reduced test case so we can take a peek.

 

Below is a basic CodePen demo using Draggable

 

See the Pen yXMXEy by GreenSock (@GreenSock) on CodePen

 

http://greensock.com/forums/topic/9002-read-this-first-how-to-create-a-codepen-demo/

 

Link to comment
Share on other sites

Hi Carl, 

 

Thanks for the super quick reply, I'm was working on a hunch that its probably a Chart.js issue and it was have moved to HighCharts and works perfectly 

 

Again thanks for the quick reply!

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×