Generates the chart in the requested format 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 content can be specified 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 chart 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