Forces the cache to be cleared (if caching is used).
void object.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 JSP 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 ) chart.ClearCache(); // The chart is complete, we can now generate the movie out.println( chart.GetHTMLTag() );
SetMaxCacheSize Method | SetCacheName Method | SetPrivateCacheDir Method | UseCache Method
Applies To: Chart Object