Generates the chart in the requested format and returns the HTML tag as a string.

object.GetHTMLTag 

Arguments

object
Required. A Chart object.

Remarks

The method actually:

The format of the generated content can be specified by the method SetOutputFormat.

Return Value



VBScript Sample Code

The following VBScript code illustrates use of the GetHTMLTag method.

<%
  'Create the chart series
  chart.SetDataFromQuery
  chart.LoadStyle "C:\myStyle.scs"

  'We can now generate the chart and print the HTML tag referencing it
%>

Here is the chart:<br>
<%= chart.GetHTMLTag %>

See Also

SetOutputFormat Method | GetOutputLocation Method | SetCacheName Method | SetPrivateCacheDir Method | SetMaxCacheSize Method | ClearCache Method | UseCache Method

Applies To: Chart Object