vcl-dxchartxydiagram-039858d6.md
The base class for axis classes in the Chart control.
TdxChartCustomAxis = class(
TdxChartCustomVisualElement
)
The axis of arguments (X-axis) and the axis of values (Y-axis) form a two-dimensional Cartesian coordinate system in an XY diagram. The TdxChartCustomAxis class implements common functionality for axes.
The list below outlines key members of the TdxChartCustomAxis class that allow you to configure an axis.
AssignCopies compatible settings between chart axes.DiagramProvides access to the XY diagram to which the axis belongs.VisibleHides or displays the axis.
AlignmentSpecifies the axis position in relation to the parent diagram.AppearanceAllows you to customize general appearance settings.CrosshairLabelsProvides access to crosshair axis label settings.MinorCountSpecifies the number of minor tick marks.TicksProvides access to major and minor axis tick appearance settings.TitleSpecifies a title for the axis and changes title appearance and position.ValueLabels
Allows you to display and customize axis value labels.
Tip
You can handle the parent diagram‘s OnGetAxisValueLabelDrawParameters event to customize individual axis value labels.
GridlinesAllows you to display and customize axis grid lines in the parent diagram.InterlacedApplies interlacing to the parent diagram.Logarithmic | LogarithmicBaseAllow you to enable a logarithmic scale for the numeric axis and adjust the scale’s logarithmic base.NumericScaleOptions | RangeAdjust the numeric value range of the axis.ReverseAllows you to reverse the axis scale direction.
Do not use the TdxChartCustomAxis class directly. Use the following descendants instead:
TdxChartAxisXStores settings of an axis of arguments in an XY diagram.TdxChartAxisYStores settings of an axis of values in an XY diagram.TdxChartSecondaryAxisXA secondary axis of arguments.TdxChartSecondaryAxisYA secondary axis of values.
TObject TPersistent TcxOwnedPersistent TcxOwnedInterfacedPersistent TdxChartVisualElementPersistent TdxChartCustomVisualElement TdxChartCustomAxis
See Also