Back to Devexpress

TdxChartCustomAxis Class

vcl-dxchartxydiagram-039858d6.md

latest4.5 KB
Original Source

TdxChartCustomAxis Class

The base class for axis classes in the Chart control.

Declaration

delphi
TdxChartCustomAxis = class(
    TdxChartCustomVisualElement
)

Remarks

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.

Main API Members

The list below outlines key members of the TdxChartCustomAxis class that allow you to configure an axis.

General

AssignCopies compatible settings between chart axes.DiagramProvides access to the XY diagram to which the axis belongs.VisibleHides or displays the axis.

Appearance and Behavior

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.

Diagram-Related Settings

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.

Terminal TdxChartCustomAxis Class Descendants

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.

Inheritance

TObject TPersistent TcxOwnedPersistent TcxOwnedInterfacedPersistent TdxChartVisualElementPersistent TdxChartCustomVisualElement TdxChartCustomAxis

See Also

TdxChartCustomSecondaryAxisCollectionItem Class

TdxChartCustomAxis Members

dxChartXYDiagram Unit