ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Saving and loading a chart
Posted by Ernst Laban on Feb-14-2022 02:55
Hello,

I've been looking at the documentation but couldn't find how to save a (finance) chart to a file (with all the datapoints etc etc) and load it later on. Is this possible? Especially for financial charts this is very usefull.

Regards, Ernst

  Re: Saving and loading a chart
Posted by Peter Kwan on Feb-15-2022 03:44
Hi Ernst,

You can only save the entire chart as an image. This is analogous to taking a screenshot or create a report (like a PDF report). The API to do this is BaseChart.makeChart.

For information that your code inputs to ChartDirector (such as chart data and other chart configuration), you would need to use your own code to save them. Internally, after ChartDirector creates the chart, it may not keep track of the inputs, so it may no longer know what are the inputs.

Regards
Peter Kwan