Chart.WriteFromCache(String, String) Method

Definition

Renders the output of a Chart object that has been cached as an image.

public static System.Web.Helpers.Chart WriteFromCache (string key, string format = "jpeg");
static member WriteFromCache : string * string -> System.Web.Helpers.Chart
Public Shared Function WriteFromCache (key As String, Optional format As String = "jpeg") As Chart

Parameters

key
String

The ID of the chart in the cache.

format
String

The format of the image. The default is "jpeg".

Returns

The chart.

Applies to