This call closes 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 closed. If the specified chart is not found, a chooser dialog appears. No error is returned.
Currently, this call only works on current and not restored results.
Table 25. CB.CloseChart Parameters
cbChtOverlay = 1, cbChtScatter = 2, cbChtSensitiv = 3, cbChtTrend = 4 | Specifies the type of chart you are closing: overlay, scatter, sensitivity, or trend chart. 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 |