2D Chart for WinForms | ComponentOne
C1.Win.C1Chart.4.5.2 Assembly / C1.Win.C1Chart Namespace / ChartData Class / LoadDataFromFile Method

In This Topic
    LoadDataFromFile Method
    In This Topic
    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.
    Syntax
    'Declaration
     
    Public Sub LoadDataFromFile( _
       ByVal Filename As System.String _
    ) 
    public void LoadDataFromFile( 
       System.string Filename
    )

    Parameters

    Filename
    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