nl en en en en en en en en en en en en en en en fa en en fr hbs_lat en en en es en en en de en en fr en en ca en en en en en en nl nl en en de en en en en en en en fr en en en en en en en en az nb en en az en en fr af en en en en en en en az nb en en az en en fr af en en en en en en az nb en en az en en fr af en en en en en en az nb en en az en en fr af en en en en en en az nb en en az en en fr af en nl en en en es en en en es en de en en en en en en en en en en en en en en en fr cv es tr es en en en en ms en en en en en en fr en hbs_lat en en en en en en en fr cv es tr es en en en en de en en en ca en en en en en
Hey OSUblake, Thanks a lot for your help! I did not think to try that... Even though it is not clear why we have to create the chart inside the function to make it work, I managed to get the effect I wanted for my project. By the way, I just paste a link that might be useful for other people combining GSAP and Chart.js... You might have the same issue Thanks again guys
Callback function problem GSAP - Chart.js
bluisier replied to bluisier's topic in GSAP
Hi OSUblake, Thanks for your answer. You're completly right and I guess this closes the topic here... I'll have to go on chart.js side to find a solution, even if I doubt they have such a nice forum and community that you have here with GSAP. Thanks again!
Thanks everybody for your help. To make things more clear and as Carl suggested, I forked the CodePen I first provided (The one that has the issue: http://codepen.io/anon/pen/myKgaa) and called the function from outside of the timeline here (This one does not have the issue: http://codepen.io/anon/pen/JoBjzX). You can see that in the second Codepen, the values of my charts are updated and not in the first one. Maybe I just miss some obvious stuff but unfortunately I cannot figure it out...
Callback function problem GSAP - Chart.js
bluisier replied to bluisier's topic in GSAP
Hi Jonathan, Thanks for taking some time to look at my issue. Actually I did not try that before but unfortunately, after doing the changes you suggested, I still have the same behaviour... And I still have absolutely no clue about what could cause the problem. The thing that bother me the most is that actually the function does not update the charts only when she is called inside the TimelineMax... It works well if called normally
Callback function problem GSAP - Chart.js
bluisier posted a topic in GSAP
“If every library were as robust and reliable as GreenSock’s, the world would be a much better place for software engineers and their clients. I can't think of a better designed or better performing tool, and as a bonus, it's fun as heck to play with.”
“It's shocking the @w3c didn't use @greensock as a model of how to do animation via code. Did they even ask animators what they use?”
“GSAP and CSS Transitions: I've done both, and its like comparing an F16 to a horse. Take like 10 minutes to try.”
“With the incredible functionality, and the mind-blowing customer service, the price of Club GreenSock admission is well worth it!”
“There is no doubt that GreenSock is currently the best available tool for creating astonishing interactive websites and animation effects.”
“Honestly think without TweenMax, I'd of changed careers by now; it's that good.”
“@greensock is just pure awesomeness. What more can be said?”
“GSAP was a revelation for me to be compared with the introduction of jQuery”
“No other animation library is as intuitive, rigorous, conceptually simple and well curated as GreenSock’s”
Sign Up For Our Newsletter
Get the latest updates on GreenSock products, exclusive offers, and more right in your inbox.
Your information will always be kept confidential.
Thanks for signing up!
Now you'll begin receiving the latest GreenSock updates, exclusive offers, and more right in your inbox. Welcome aboard.