[]
        
(Showing Draft Content)

C1.Win.C1Chart.C1Chart.SaveChartToString

SaveChartToString Method

SaveChartToString()

Saves the all of the contents of the control to the specified file, including data.

Declaration
public override string SaveChartToString()
Public Overrides Function SaveChartToString() As String
Returns
Type Description
string

The string which contains chart description.

Overrides
Remarks

This method saves the chart contents to the specified string in XML format. If an error occurs, an appropriate exception is thrown indicating the cause of error.

SaveChartToString(bool)

Save all the chart information, including data to the returned string with optional formatting.

Declaration
public string SaveChartToString(bool formatting)
Public Function SaveChartToString(formatting As Boolean) As String
Parameters
Type Name Description
bool formatting

Whether to use formatting in XML output.

Returns
Type Description
string

The string which contains chart description.

Remarks

This method saves the chart contents to the specified string in XML format. If an error occurs, an appropriate exception is thrown indicating the cause of error.