IScene3DDataSource.ValueY

Syntax

ValueY(Index: Integer): Double;

Parameters

Index - index of value along the OY axis.

Description

The ValueY property changes the value along the OY axis in the data source.

Example

This example assumes that there is the S object of the IScene3D type.

Sub Chart3D;
Var
    i : integer;
    s : IScene3D;
    sur : IScene3DSurface;
Begin
    s.DisplayedObjects.Surfaces.Count := 1;
    sur := s.DisplayedObjects.Surfaces.Item(0);
    For i := 0 To 50 Do
        sur.DataSource.NewRow := Math.Rand;
    End For;
    sur.DataSource.ValueY(25) := 0;
End Sub Chart3D;

After executing the example the value along the OY axis specified by the index is changed.

See also:

IScene3DDataSource