ComponentOne Chart for .NET (2.0) Search HelpCentral 

C1Chart.LoadChartFromFile Method

Reads the chart property and data settings (chart description) from the specified file.

[Visual Basic]

Public Sub LoadChartFromFile( _

ByVal Filename As String _

)

[C#]

public void LoadChartFromFile(

string Filename

);

[Delphi]

public procedure LoadChartFromFile(

Filename: String

);

Parameters

Filename

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.

See Also

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


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