IScene3DCoordinates.NonnumericValueX

Syntax

NonnumericValueX(Index: Integer): String;

Parameters

Index - index of a point on the axis, numeration starts from zero.

Description

The NonnumericValueX property enables to set custom names for points for the X-axis. To display nonnumeric values for an axis, set the UseNumericAxes property to False.

Example

This example assumes that there is the S object 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.NonnumericValueX(i) := "Point" + i.ToString;

S.EndUpdate;

End For;

End Sub Chart3D;

Executing this example displays specified names next to each point of the OX axis.

See also:

IScene3DCoordinates | IScene3DCoordinates.UseNumericAxes