IScene3DCoordinates.NonnumericValueZ

Syntax

NonnumericValueZ(Index: Integer): String;

Parameters

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

Description

The NonnumericValueZ property enables the user to set custom names of Z 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 Chart3D2;
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.NonnumericValueZ(i) := "Point" + i.ToString;
        S.EndUpdate;
    End For;
End Sub Chart3D2;

Executing the example displays the specified names for each Z axis point.

See also:

IScene3DCoordinates | IScene3DCoordinates.UseNumericAxes