[]
Reads the chart property and data settings (chart description) and images from the specified file.
public void LoadChartAndImagesFromFile(string Filename)
Type | Name | Description |
---|---|---|
string | Filename | File name |
This method loads the contents of the specified file in XML format into the chart. The file should contain the output of a call to SaveChartToFile or SaveChartAndImagesToFile. If the latter method was used to create the load string, then any chart element images are also reset to the saved values. If an error occurs during the file open, reading or chart drawing, an appropriate exception is thrown indicating the cause of error.