IScene3DCoordinates.NonnumericValueY

Syntax

NonnumericValueY(Index: Integer): String;

Parameters

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

Description

The NonnumericValueY property enables the user to set custom names of Y 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.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:

IScene3DCoordinates | IScene3DCoordinates.UseNumericAxes