Generates a Flash movie from a chart 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 file (i.e. Flash movie, JPEG image or PNG image) is defined by the method SetOutputFormat.

Return Value



JScript Sample Code

The following JScript 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 | SetCacheName Method | SetPrivateCacheDir Method | SetMaxCacheSize Method | ClearCache Method | UseCache Method

Applies To: Chart Object