jberchet

export into CSV / MSSpline

Recommended Posts

hi

 

is ther a way to hide a dataset in the csv export with context menu ?

i have spline that i dont want to export to csv , the context menu export all datas ?

 

Share this post


Link to post
Share on other sites
Guest Sumedh

Hello,

 

The export functionality of FusionCharts XT will export all the data by default.

 

If you want to export data excluding one particular dataset, then you would need to make use of "visible" attribute at <dataset> element.

 

Set this attribute as "0" at <dataset> element.

 

Ref. Code:

<dataset seriesName='year 2012' visible='0'>

 

Then, you would need to pass this updated XML to chart and re-render in export function.

 

You would need to write this logic before export declaration.

 

And to retain the dataset again, you would need to again re-render the chart which will contain this configuration "visible='1'" in the FC_Exported event call.

 

Hope this helps!

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