ComponentOne Chart 8.0 for ActiveX
Storing Chart Descriptions in Files

 

Storing Chart Descriptions in Files

To save a chart description in a file, access the Chart3D object and call the Save method:

Chart3D1.Save "C:\OLECTRA\CHART1.OC3"

To load a previously saved chart description from a file, call the Load method:

Chart3D1.Load "C:\OLECTRA\CHART1.OC3"

Both methods return True if the file operation was successful and False if an error occurred.

Saving Chart Data

Chart data is normally stored with the other chart properties. If you do not want the data saved, set the IsSaved property in the Chart3DData object to False. If you want the chart data saved to a file, set the FileName property to the name of the file. Saved data can be loaded from this file using the Load method.

If the IsSaved property is set to True, data is saved with the chart, and the value of the FileName property is ignored.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback