Reads the chart property and data settings (chart description) from the specified file.
Namespace:
C1.Win.C1ChartAssembly: C1.Win.C1Chart.2 (in C1.Win.C1Chart.2.dll)
Syntax
C# |
---|
public void LoadChartFromFile( string Filename ) |
Visual Basic |
---|
Public Sub LoadChartFromFile ( _ Filename As String _ ) |
Parameters
- Filename
- Type: System..::..String
File name
Remarks
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 SaveChartFromFile.
If an error occurs during the file open, reading or chart drawing,
an appropriate exception is thrown indicating the cause of error.