TiPlotComponent.AddDataView
TiPlotComponent See Also
Adds a single data view object to the plot.
function AddDataView : Integer;
Description
Call AddDataView to add a single data view object to the plot. The return
value from the function is a unique index used for manipulating the object. Use the DataView property to get or set the properties of the data view object.
The index value for this object will decrement by one each time a data view
object with a lower index value is deleted.
Currently, only one data view object is supported at this time and the
multiple data view interface is for future expansion. The DataViewCount, AddDataView,
DeleteDataView, and RemoveAllDataViews are reserved for property editors at
this time. Always use an Index of zero when accessing the data view.
Example
Delphi
Index := iComponent.AddDataView;
C++ Builder
Index = iComponent->AddDataView();
Contents | Index | Previous | Next