Jump to content
JChartFX Community
  • 0
ld_7

Animation Question

Question

Hello,

I am currently calling 6 functions to load data for 6 charts. I was thinking a nice effect would be to load each one when the other ones are completed.

What is the smartest way to do this for jChartFX? I know there is a a jQuery function and a javascript timer as well but wanted to see what others are doing or what the recommended approach would be? I'd like one chart to animate after the other, or maybe two at a time.

 

Thanks so much! 

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

I have not done it myself but I would start with 2 charts, calling the function to create/populate the first chart as soon as the page is loaded, then creating a timer and running the code to create the second chart when the timer "fires".

The default for our load animation is 1.2 seconds (you can change this if needed) so I would try to time the second animation to either coincide a little with the first chart or a little after the first one ends.

JuanC 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...