This call deletes a chart of the specified type and chart ID. The chart ID is optional. If the chart ID is not specified, the currently selected chart is deleted. If the specified chart is not found, a chooser dialog appears. No error is returned.
Table 58. CB.DeleteChart Parameters and Constants
cbChtOverlay = 1, cbChtScatter = 2, cbChtSensitiv = 3, cbChtTrend = 4 | Specifies the type of chart you are deleting: overlay, scatter, sensitivity, or trend. For named constant and index values, see the Value column. | ||
The chart ID returned by CB.EnumChart (Table 60) entered directly or using CB.EnumChart |