See Also

Chart Class  | Chart Members  | CachePeriod Property  | CachePeriod Property  | CachePeriod Property

Language

Visual Basic

C#

Show All

See Also Languages dotnetCHARTING Send comments on this topic.

CacheDuration Property

Gets or sets the number of minutes an image is cached and displayed on a page before a new one is generated.

[Visual Basic]
Public Property CacheDuration As Integer
[C#]
public int CacheDuration {get; set;}

Remarks

When set, a given chart image will be generated on the first hit and on all subsequent hits within the cache duration period the same image will be returned with no rendering work by the chart control.

Example

[C#] 

//Used the already generated image for upto 45 minutes. 
Chart.CacheDuration = 45;

[Visual Basic] 

'Used the already generated image for upto 45 minutes.
Chart.CacheDuration = 45

See Also

Chart Class  | Chart Members  | CachePeriod Property  | CachePeriod Property  | CachePeriod Property

 

 


2002 - 2005 Webavail Productions Inc. & Corporate Web Solutions Ltd.. All Rights Reserved.