Loads the contents of the current ChartData object from the specified file in XML format, including point data, holes and line and symbol style data.

Namespace:  C1.Win.C1Chart
Assembly:  C1.Win.C1Chart.2 (in C1.Win.C1Chart.2.dll)

Syntax

C#
public void LoadDataFromFile(
	string Filename
)
Visual Basic
Public Sub LoadDataFromFile ( _
	Filename As String _
)

Parameters

Filename
Type: System..::..String

Remarks

This method loads the current ChartData object with the contents for the specified file in XML format. The file specified should have been created with SaveDataToFile. If an error occurs during the file creation or writing, an appropriate exception is thrown indicating the cause of error.

See Also