1

So far I've been successfully updating the data for the my chart following the guide in this link.

However, how can do re-render it but with the same animation when it was first rendered?

Rey Libutan
  • 5,226
  • 9
  • 42
  • 73
  • 1
    I don't think we have a canvasjs guru here on SO yet, and the one canvasjs question about dynamic charts has gone unanswered. I suspect you'll have to work this one out yourself. Then perhaps you'll come back as the canvasjs guru! Anyway, good luck with your project. :-) – markE Jan 26 '15 at 17:02
  • Yeah sadly enough. My current ugly workaround is to reinstantiate the chart every time I update just to achieve that animation effect. haha – Rey Libutan Jan 26 '15 at 17:53

1 Answers1

3

It's somehow a hack and I know it shouldn't be this way but the only solution I found was to reinitialize the creation of the chart just to achieve that animation.

Rey Libutan
  • 5,226
  • 9
  • 42
  • 73
  • Upvoted for providing solution and a followup. It may be something you can discuss with the [author of canvasjs](https://github.com/eyamil/Canvas-JS/issues), to see if it can be implemented (if not already in some obscure way). –  Mar 25 '15 at 22:03