Building a Chart > Storing Chart Descriptions in Files |
To save a chart description in a file, access the Chart2Dobject and call the Save method:
Chart2D1.Save "C:\OLECTRA\CHART1.OC2"
To load a previously saved chart description from a file, call the Load method:
Chart2D1.Load "C:\OLECTRA\CHART1.OC2"
Both methods return TRUE if the file operation was successful and FALSE if an error occurred.