Chart.SaveXml Method

Saves a chart as an XML file.

Namespace:  System.Web.Helpers
Assembly:  System.Web.Helpers (in System.Web.Helpers.dll)

Syntax

'Declaration
Public Function SaveXml ( _
    path As String _
) As Chart
'Usage
Dim instance As Chart 
Dim path As String 
Dim returnValue As Chart 

returnValue = instance.SaveXml(path)
public Chart SaveXml(
    string path
)
public:
Chart^ SaveXml(
    String^ path
)
member SaveXml : 
        path:string -> Chart
public function SaveXml(
    path : String
) : Chart

Parameters

Return Value

Type: System.Web.Helpers.Chart
The chart.

Remarks

You can save a chart as an XML file on the server. An advantage of using this method over caching the chart or saving the chart to an image file is that you can modify the XML before you display the chart.

Note

Your application has to have read/write permissions for the folder on the server where you want to save the file.

See Also

Reference

Chart Class

System.Web.Helpers Namespace