The TAxis
class represents settings for one of the axes.
You cannot create new instances of this class but should access it through Graph.Axes.xAxis
or Graph.Axes.yAxis
.
TAxis
.Min
The minimum value of the axis.
TAxis
.Max
The maximum value of the axis.
TAxis
.LogScl
Specifies if the axes is scaled logarithmic.
TAxis
.MultipleOfPi
Specifies if numbers, tick marks and grid lines should be based on numbers that are a multiple of π instead of integers.
TAxis
.ShowLabel
If True the text specified in Label will be shown next to the axis.
TAxis
.ShowNumbers
If True numbers will be shown along the axis at the position of the tick marks.
TAxis
.ShowTicks
Id True, tick marks are shown along the axis. The distance between the tick marks are given in TickUnit. If LogScl is True, the grid lines are shown at TickUnit^{N} where N is an integer.
TAxis
.ShowGrid
If True, grid lines are shown perpendicular to the axis. The distance between the grid lines are given in GridUnit. If LogScl is True, the grid lines are shown at GridUnit^{N} where N is an integer, with minor grid lines between the major grid lines.
TAxis
.AutoTick
If True the value in TickUnit will be automatically calculated every time there is a change.
TAxis
.AutoGrid
If True the value in GridUnit will be automatically calculated every time there is a change.
TAxis
.Label
This specifies a text string that will be shown next to the axis when ShowLabel is True.
TAxis
.AxisCross
A floating point value indicating the axis crosses the other axis.
TAxis
.TickUnit
The distance between the tick marks on the axis. If AutoTick is True, this value will be automatically calculated every time the image is updated.
TAxis
.GridUnit
The distance between grid lines on the axis. If AutoGrid is True, this value will be automatically calculated every time the image is updated.
TAxis
.Visible
When True the axis is shown in the image.
TAxis
.ShowPositiveArrow
When True an arrow is shown in the positive end of the axis.
TAxis
.ShowNegativeArrow
When True an arrow is shown in the negative end of the axis.
TAxis
.NumberPlacement
This specifies where the numbers along the axis is shown relative to the tick marks.
For the x-axis, the numbers can be centered below (Graph.npCenter
) or shown below a little to the left of the tick marks (Graph.npBefore
).
For the y-axis, the numbers can be centered to the left of the tick marks (Graph.npCenter
) or shown below to the left (Graph.npBefore
).