The tee files have been saved using a call like this:
Code: Select all
SaveChartToFile(Chart, filename, false, true);
When I use the function LoadChartFromFile(Chart, filename) to reinstate the graph's options, the data disappears from my chart (but the options saved in the tee file are applied as expected).
Q1. What do I have to do to redraw the graph with the new options?
Q2. What function should I call to load the graph options from a previously saved XML file?
I would prefer to save the graph options in XML format, using using a call like this:
Code: Select all
SaveChartToXMLFile(Chart, filename, false, true);
However, I cannot find a function that allows me to load the options from this XML file. There is no LoadChartFromXMLFile function, AFAIK, and the LoadChartFromFile function issues an error if it is passed an XML file.
What am I missing here?
Thanks in advance fort any help anyone can give.
Andrew