ComponentOne Chart for .NET (2.0) Search HelpCentral 

ChartData.LoadDataFromFile Method

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.

[Visual Basic]

Public Sub LoadDataFromFile( _

ByVal Filename As String _

)

[C#]

public void LoadDataFromFile(

string Filename

);

[Delphi]

public procedure LoadDataFromFile(

Filename: String

);

Parameters

Filename

Represents the specified name of the file.

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

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


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