manju_m
Posts: 8
Joined: Fri Mar 08, 2024 2:22 pm

Gantt CSV export

What is the column labeled 'y' in the csv export? How can I remove it? Please refer to my demo below. Also I would like to add a column based on the data under custom. How can I do that? Please advise

https://jsfiddle.net/fu56qL9m/2/
manju_m
Posts: 8
Joined: Fri Mar 08, 2024 2:22 pm

Re: Gantt CSV export

I was able to resolve the extra column issue by following the instructions at
https://stackoverflow.com/questions/668 ... ort-to-csv

However my second question about being able to access the series.gantt.data for the export still exists.

Thanks
jakub.s
Site Moderator
Posts: 1536
Joined: Fri Dec 16, 2022 11:45 am

Re: Gantt CSV export

Hi,

I've updated your demo, including some of the things you might be looking for: https://jsfiddle.net/BlackLabel/oLvrywm4/

When you add the exportData event, this context is the Highcharts.Chart instance on which the event was called. Thus, you have access to all the instance properties and methods described in the API here:

- Chart: https://api.highcharts.com/class-refere ... arts.Chart
- Series: https://api.highcharts.com/class-refere ... rts.Series
- Series data: https://api.highcharts.com/class-refere ... eries#data

Let me know if that's what you were looking for.

Best regards!
Jakub
Highcharts Developer

Return to “Highcharts Gantt”