2D Chart for WinForms | ComponentOne
C1.Win.C1Chart.4.8 Assembly / C1.Win.C1Chart Namespace / C1Chart Class / LoadChartAndImagesFromString Method
String which contains chart description.

In This Topic
    LoadChartAndImagesFromString Method
    In This Topic
    Reads the chart property and data settings (chart description) and images from the specified string.
    Syntax
    'Declaration
     
    Public Sub LoadChartAndImagesFromString( _
       ByVal str As System.String _
    ) 
    public void LoadChartAndImagesFromString( 
       System.string str
    )

    Parameters

    str
    String which contains chart description.
    Remarks
    This method loads the contents of the specified string in XML format into the chart. The string should contain the output of a call to SaveChartToString or SaveChartAndImagesToString. If the latter method was used to create the load string, then any chart element images are also reset to the saved values. If an error occurs, an appropriate exception is thrown indicating the cause of error.
    See Also