Add(Type: Scene3DSerieType): IScene3DSerie;
Type - type of the added series.
The Add method adds a series to the collection.
NOTE. A series of the Points type can be added to the collection only once.
This example assumes that there is the S object of the IScene3D type and the ComboBox component.
Sub User;
Var
S : IScene3D;
series: IScene3DSeries;
serie : IScene3DSerie;
Begin
series := S.Series;
serie := series.Add(ComboBox1.ItemIndex As Scene3DSerieType);
End Sub User;
After executing the example a series of the selected type is added to the collection.
See also: