IScene3DCoordinates.NonnumericValueX

Syntax

NonnumericValueX(Index: Integer): String;

Parameters

Index - index of the axis point, numbering starts with zero.

Description

The NonnumericValueX property enables the user to set custom names of X axis points. To display non-numeric values of the 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 the example displays the specified names for each X axis point.

See also:

IScene3DCoordinates | IScene3DCoordinates.UseNumericAxes