pitommasi

Change Only Data To Chart Or Map With Json And Javascript

Recommended Posts

Would it be possible to only change the "data" part of a chart or a map?

 

Current;y, to change the data of a chart, I do it by reading the JSON data like this:

 

chartData = chart1.getJSONData();

 

then replace the data element:

 

chartData.data = newData;

 

and feed it back to the chart:

 

chart1.setJSONData(chartData);

 

since the chart definition is always the same, I wanted to know whether there is there a way to do something like:

 

chart1.data = newData;

 

thanks in advance

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi,

 

Welcome to FusionCharts Forum!

 

I am afraid, this is not possible. You can not change the data part for a map/chart. sad.gif

Share this post


Link to post
Share on other sites
Guest Sumedh

Any chances of implementing this?

 

Hi,

 

We will add this feature to our feature wishlist.

 

We would definitely try to implement this feature, if it is feasible.

 

Thanks for your support and time.

Share this post


Link to post
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