Generates a Flash movie, a JPEG image or a PNG image from a chart and returns the corresponding HTML tag as a string.

object.GetHTMLTag 

Arguments

object
Required. A Chart object.

Remarks

The method actually:

The format of the generated file (i.e. Flash movie, JPEG image or PNG image) is defined 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 movie 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