Namespace: GlobFX.SwiffChartGenerator
Assembly: GlobFX.SwiffChartGenerator (in GlobFX.SwiffChartGenerator.dll)
Specifies the Web Server root directory.
Public Sub SetDocumentRoot( directory_pathname As String )
public void SetDocumentRoot( string directory_pathname );
Swiff Chart Generator requires the absolute pathname of the root directory in order to locate the chart cache folder. The document root directory is the directory on the disk associated with the Web Application Server root (i.e. the directory corresponding to http://<my_server>/)
The document root is usually automatically determined by the Chart object. However, there are some rare situations it needs to be set manually.
The following code illustrates use of the SetDocumentRoot method.
' Manually set the Document Root directory chart.SetDocumentRoot( "C:\inetpub\wwwroot" )
// Manually set the Document Root directory chart.SetDocumentRoot( "C:\\inetpub\\wwwroot" );
SetOutputFormat Method | GetOutputLocation Method | SetCacheName Method | SetPrivateCacheDir Method | SetMaxCacheSize Method | ClearCache Method | UseCache Method
Applies To: Chart Object