ComponentOne Chart for .NET (2.0) Search HelpCentral 

ChartData.SaveDataToFile Method

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.

[Visual Basic]

Public Sub SaveDataToFile( _

ByVal Filename As String _

)

[C#]

public void SaveDataToFile(

string Filename

);

[Delphi]

public procedure SaveDataToFile(

Filename: String

);

Parameters

Filename

Represents the specified name of the file.

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

ChartData Class | ChartData Members | C1.Win.C1Chart Namespace


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.