Generates a Flash movie from a chart and returns the HTML tag as a string.

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



PHP Sample Code

The following PHP 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
echo $chart->GetHTMLTag();

See Also

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

Applies To: Chart Object