FlexChart | ComponentOne
C1.Chart Assembly / C1.Chart.Serialization Namespace / Serializer Class / SerializeToXml Method
The instance of the FlexChart based control to serialize to an XML string.

In This Topic
    SerializeToXml Method
    In This Topic
    Serializes a FlexChart based control to an XML string. At present, this includes FlexChart and FlexPie controls.
    Syntax
    'Declaration
     
    Public Shared Function SerializeToXml( _
       ByVal chart As IChartBase, _
       Optional ByVal serializeData As System.Boolean _
    ) As System.String
    public static System.string SerializeToXml( 
       IChartBase chart,
       System.bool serializeData
    )

    Parameters

    chart
    The instance of the FlexChart based control to serialize to an XML string.
    serializeData

    Return Value

    A string containing a formatted XML string.
    See Also