IScene3DCoordinates.NonnumericValueY

Syntax

NonnumericValueY(Index: Integer): String;

Parameters

Index is an index of the axis point. Numeration starts from zero.

Description

The NonnumericValueY property enables to set custom names for points on the Y-axis. To display nonnumeric values along the axis, set the UseNumericAxes property to False

Example

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

Sub Chart3D;

Var

S : IScene3D;

i, point : Integer;

Begin

point := s.DisplayedObjects.SceneCoordinates.AxisStep;

S.DisplayedObjects.SceneCoordinates.UseNumericAxes := False;

For i:= 0 To point Do

S.BeginUpdate;

s.DisplayedObjects.SceneCoordinates.NonnumericValueY(i) := "Point" + i.ToString;

S.EndUpdate;

End For;

End Sub Chart3D;

Executing this example displays specified names for each point of the Y-axis.

See also:

IScene3DCoordinates | IScene3DCoordinates.UseNumericAxes