lorenzofo

Export to CSV

Recommended Posts

Hi,

I create my chart through the php connector:

 



$columnChart = new FusionCharts(
"line", 
"ex1" , 
"500", 
"235", 
"chart-1", 
"json", 
'{  
  "chart":
  {  
 "caption":"Trend (all countries)",
"xAxisName": "",


etc.

 

How can I activate the export to csv?

 

I tried to add "showexportdatamenuitem":"1", but it does not work.

 

Thank you in advance

Share this post


Link to post
Share on other sites

Hi,

 

To export the data in CSV format. you can get the data as CSV and customize it accordingly to export it. 
 
 
In the PHP implementation write the JavaScript function with respect to chart ID.
 
The attribute is "exportShowMenuItem" , try setting it.
 
Hope this helps.
 
 

Share this post


Link to post
Share on other sites

This is a very useful post, thank you! I agree with Vaishalikas's forum post. She is well explained about this. This is a very good tip especially to those new to this board. Simple but very precise information Thanks for sharing this one. A must read post!
 

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