.netCHARTING v10.5 Documentation


CachePeriod Property
Gets or sets a System.TimeSpan object that determines the amount of time an image is cached and displayed on a page before a new one is generated.
Syntax
'Declaration
 
Public Property CachePeriod As TimeSpan
'Usage
 
Dim instance As FileManager
Dim value As TimeSpan
 
instance.CachePeriod = value
 
value = instance.CachePeriod
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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also