InsertNewChartDef

Description

Inserts a new chart into the workspace, under the workspace folder specified by parent DBID.

Note: This method is for Windows™ only. This method became available in version 2002.05.00.

Syntax

VBScript


workspace.InsertNewChartDef newName, parent_dbid, QueryDefObj 

Perl


$workspace->InsertNewChartDef(newName, parent_dbid, QueryDefObj); 
Identifier
Description
workspace
The Workspace object obtained from the current session.
newName
A String containing the name you want to give to the new ChartDef.
parent_dbid
A Long containing the DBID of the parent workspace folder from which to insert the new chart.
QueryDefObj
A reference to the new QueryDef object you are inserting.
Return value
Returns a Long containing the dbid of the new chart.