NonnumericValueZ(Index: Integer): String;
Index is an index of the axis point. Numeration starts from zero
The NonnumericValueZ property enables to set custom names for points along the Z axis. To display nonnumeric values for an axis, set the UseNumericAxes property to False.
This example assumes that there is the object S 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 this example displays the specified names for each point of the Z-axis.
See also: