Chart.Save(String, String) Method

Definition

Saves a chart image to the specified file.

public System.Web.Helpers.Chart Save (string path, string format = "jpeg");
member this.Save : string * string -> System.Web.Helpers.Chart
Public Function Save (path As String, Optional format As String = "jpeg") As Chart

Parameters

path
String

The location and name of the image file.

format
String

The image file format, such as "png" or "jpeg".

Returns

The chart.

Applies to