dotnetCHARTING Send comments on this topic.
CachePeriod Property
See Also 
dotnetCHARTING Namespace > FileManager Class : CachePeriod Property


Gets or sets a TimeSpan object that determines the amount of time an image is cached and displayed on a page before a new one is generated.

Syntax

Visual Basic (Declaration) 
Public Property CachePeriod As TimeSpan
Visual Basic (Usage)Copy Code
Dim instance As FileManager
Dim value As TimeSpan
 
instance.CachePeriod = value
 
value = instance.CachePeriod
C# 
public TimeSpan CachePeriod {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.

See Also