Export data from a chart object to text or csv using Python

Options
pari
pari Member Posts: 7
Photogenic Name Dropper First Comment
edited June 2023 in Structures

Hello,

I am able to access the chart object using Python, but I am not sure what function will export it to a text or csv file. I checked the list of attributes, and none of them offer the "Export" of chart data.

I am guessing since the chart object has a table, there should be some way to access it. Can someone point me in the right direction?

chart = DataModel.GetObjectsByName("myChart")[0]
chart.Activate()