IScene3DDataSource.ValueX

Syntax

ValueX(Index: Integer): Double;

Parameters

Index - index of value along the OX axis.

Description

The ValueX property changes the value along the OX 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.NewColumn := Math.Rand;

End For;

sur.DataSource.ValueX(25) := 0;

End Sub Chart3D;

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

See also:

IScene3DDataSource