NonnumericValueY(Index: Integer): String;
Index - index of the axis point, numbering starts with zero.
The NonnumericValueY property enables the user to set custom names of Y axis points. To display non-numeric values on the axis, set the UseNumericAxes property to False.
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.NonnumericValueY(i) := "Point" + i.ToString;
S.EndUpdate;
End For;
End Sub Chart3D;
Executing the example displays the specified names for each Y axis point.
See also: