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

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

    Parameters

    Filename
    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