Generates the chart in the requested format and returns the HTML tag as a string.
String object.GetHTMLTag( )
The format of the generated content can be specified by the method SetOutputFormat.
<OBJECT type="image/svg+xml" data="/charts_cache/9A7DE3D6-CE1E412B.svg" width="300" height="200"> </OBJECT>
<IMG src="/charts_cache/9A7DE3D6-CE1E412B.jpg" width="300" height="200">
<OBJECT width=300 height=200 classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0"> <param name=movie value="/charts_cache/9A7DE3D6-CE1E412B.swf"> <param name=quality value=high> <EMBED src="/charts_cache/9A7DE3D6-CE1E412B.swf" width=300 height=200 quality=high pluginspage="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"> </EMBED> </OBJECT>
This Flash object will need the Flash 4 Player or higher on the client browser. If Flash compression is enabled, the Flash object will automatically requires the Flash 6 Player or higher.
This HTML tag is compatible with Microsoft Internet Explorer, Firefox and Opera browsers.
<OBJECT type="application/pdf" data="/charts_cache/9A7DE3D6-CE1E412B.pdf" width="300" height="200" </OBJECT>
The following JSP code illustrates use of the GetHTMLTag method.
// Create the chart series chart.SetDataFromTxtFile("C:\\myData.txt"); chart.LoadStyle("C:\\myStyle.scs"); // We can now generate the chart and print the HTML tag referencing it out.println( chart.GetHTMLTag() );
SetOutputFormat Method | GetOutputLocation Method | SetCacheName Method | SetPrivateCacheDir Method | SetMaxCacheSize Method | ClearCache Method | UseCache Method
Applies To: Chart Object