Vijaya_FC

Getting The Chart Data

Recommended Posts

Hi,

 

 

We are using fusion charts 1.2.3 - paid version in our rails application. But using this, how to get the data used for generating the charts .

 

 

 

 

Thanks,

Vijaya

Edited by Vijaya_FC

Share this post


Link to post
Share on other sites
Guest Angie

Share this post


Link to post
Share on other sites

Hi,

 

Thanks for your reply.

 

How to get the data from the generated chart. As per the examples, they are using getXMLData, getChartData functions.

As in, http://www.fusioncharts.com/Code/JavaScript/Basics/GettingDataBackFromChart/Get_XML_data_from_a_chart_using_getXMLData.html

Is it available in version 1.2?

 

If it is not available, how to update to the recent version.

 

 

And also,

 

I am trying with the V-3 free version on my local machine, but its not working. Its throwing error: getXMLData is not a function

 

In the view I am using:

<% render_chart_html "/FusionCharts/MSLine.swf", '', str_xml,"myChart1#{params[:tab_id]}", 800, 400, false do-%>

 

In JS function - getData

 

var chartReference = FusionCharts(chart_id);

var chartXML = chartReference.getXMLData();

alert(chartXML);

 

But its not working. please let me know where I am missing.

Edited by Vijaya_FC

Share this post


Link to post
Share on other sites

I am trying with the V-3 free version on my local machine, but its not working. Its throwing error: getXMLData is not a function

 

In the view I am using:

<% render_chart_html "/FusionCharts/MSLine.swf", '', str_xml,"myChart1#{params[:tab_id]}", 800, 400, false do-%>

 

In JS function - getData

 

var chartReference = FusionCharts(chart_id);

var chartXML = chartReference.getXMLData();

alert(chartXML);

 

But its not working. please let me know where I am missing.

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