[ 3 posts ]

Ryan

  • Username: gomi99
  • Joined: Sun Nov 06, 2011 5:47 am
  • Posts: 15
  • Offline
  • Profile
Tags:

Charts

Post Posted: Tue May 01, 2012 11:04 pm
+0-
Is it possible to refresh the chart's data with new data without reloading the entire page?

Tripp Bridges

YUI Developer

  • Username: tripp
  • Joined: Wed Jan 07, 2009 1:54 pm
  • Posts: 440
  • GitHub: tripp
  • Gists: tripp
  • YUI Developer
  • Offline
  • Profile
Tags:

Re: Charts

Post Posted: Wed May 02, 2012 8:52 am
+0-
All you need to do is reset the the dataProvider.
Code:
mychart.set("dataProvider", myNewDataProvider);

I notice that this post is in the gallery forum. I would recomend using the YUI Charts instead of the gallery version. It has more recent updates and is better tested and documented.

Thanks,
Tripp

Ryan

  • Username: gomi99
  • Joined: Sun Nov 06, 2011 5:47 am
  • Posts: 15
  • Offline
  • Profile

Re: Charts

Post Posted: Thu May 03, 2012 3:23 pm
+0-
Thanks for the advice and about the forum.
  [ 3 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum