Saves the contents of the current ChartData object to 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 SaveDataToFile(
	string Filename
)
Visual Basic
Public Sub SaveDataToFile ( _
	Filename As String _
)

Parameters

Filename
Type: System..::..String

Remarks

This method saves the ChartData object contents to the specified file in XML format. If an error occurs during the file creation or writing, an appropriate exception is thrown indicating the cause of error.

See Also