Namespace: GlobFX.SwiffChartGenerator
Assembly: GlobFX.SwiffChartGenerator (in GlobFX.SwiffChartGenerator.dll)
Forces the cache to be cleared (if caching is used).
Public Sub ClearCache
public void ClearCache();
This function should not be called in normal use, since the cache is automatically managed by Swiff Chart Generator.
However, it can be useful for forcing the cache to be cleared.
The following code illustrates use of the ClearCache method.
' Create the chart series
chart.SetDataFromTxtFile("C:\\myData.txt")
chart.LoadStyle("C:\\myStyle.scs")
' Force the cache to be cleared
If is_it_midnight Then
chart.ClearCache()
End If
// Create the chart series
chart.SetDataFromTxtFile("C:\\myData.txt");
chart.LoadStyle("C:\\myStyle.scs");
// Force the cache to be cleared
if( is_it_midnight )
chart.ClearCache();
SetMaxCacheSize Method | SetCacheName Method | SetPrivateCacheDir Method | UseCache Method
Applies To: Chart Object