As far as application contains collection of document windows and document windows contain Container, Worksheet and Plot, DMPlot, in turn, contains axes and collection of series. In addition to child object references DMPlot supports selection and the standard set of clipboard operations. Note that unlike DM2000 UI you can only add new series but have no ability to remove it.
Returns number of series in Series collection.
Like one of document windows is active, one of plot series is current. Current serie displayed in serie toolbar and most of UI operations act on the current serie. This property allows you to change index of current serie programmatically (series are indexed from 0 to SerieCount-1).
This property returns current serie object; it is equal to Series[SerieIndex].
Collection of serie objects. Index range from 0 to SerieCount-1. This property gives you "random access" to plot series.
Add new empty serie to the end of Series collection. Note that this method does not change SerieIndex property.
These properties provide access to plot axes objects.
Change plot selection coordinates. Note that plot selection may be invisible; nevertheless all clipboard operations work fine (although appropriate UI commands are disabled!).
Like for worksheet this method changes all selection coordinates simultaneously. Note that Y1 set SelectionBottom, Y2 - SelectionTop.
CopyToClipboard() does different things depend on Mode parameter:
- pcmPage = $00000000 - copy whole page as metafile;
- pcmPoints = $00000001 - copy only X,Y coordinates of points;
- pcmItems = $00000002 - copy all values from appropriate data element.
Copied all points from current serie whose coordinates belong to selected plot area UseTabs parameter has the same meaning as for worksheet.
Delete all points (data elements) whose coordinates belong to selected plot area. Delete method also works only with current serie.