Sign in to follow this  
ylb521

Can I Get Chart Image With Javascript

Recommended Posts

Guest Sumedh

I want to get the generated image wiht javascript ,but I find that there is no way to do it.Anybody help me?Thanks.

 

Hi,

 

Can you explain it a bit more? What you are trying to achieve?

Share this post


Link to post
Share on other sites

Hi,

 

Can you explain it a bit more? What you are trying to achieve?

 

master ,I want to get the generated image hex data with javascript .

Share this post


Link to post
Share on other sites

I can export the image with fusionchart,But I can't find a way to get the image raw data with my javascript function.I search the documentation and I didn't find a solution!

Share this post


Link to post
Share on other sites
Guest Sumedh

I can export the image with fusionchart,But I can't find a way to get the image raw data with my javascript function.I search the documentation and I didn't find a solution!

 

Hi,

 

If you are willing to get the chart data you can use following functions:

 

getXMLData()

getJSONData()

getDataAsCSV()

 

Ref. Code:

var myXML = FusionCharts("myChartId").getXMLData();

 

For more information, please refer the following link:

http://docs.fusioncharts.com/charts/contents/?JavaScript/API/Methods.html

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
Sign in to follow this