Skip to main content
All docs
V25.1
  • TdxChartCustomAxis Class

    The base class for axis classes in the Chart control.

    Declaration

    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.

    VCL Chart Control: X and Y Axes in a Diagram

    Main API Members

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

    General

    Assign
    Copies compatible settings between chart axes.
    Diagram
    Provides access to the XY diagram to which the axis belongs.
    Visible
    Hides or displays the axis.

    Appearance and Behavior

    Alignment
    Specifies the axis position in relation to the parent diagram.
    Appearance
    Allows you to customize general appearance settings.
    CrosshairLabels
    Provides access to crosshair axis label settings.
    MinorCount
    Specifies the number of minor tick marks.
    Ticks
    Provides access to major and minor axis tick appearance settings.
    Title
    Specifies 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.

    Gridlines
    Allows you to display and customize axis grid lines in the parent diagram.
    Interlaced
    Applies interlacing to the parent diagram.
    Logarithmic | LogarithmicBase
    Allow you to enable a logarithmic scale for the numeric axis and adjust the scale’s logarithmic base.
    NumericScaleOptions | Range
    Adjust the numeric value range of the axis.
    Reverse
    Allows you to reverse the axis scale direction.

    Terminal TdxChartCustomAxis Class Descendants

    Do not use the TdxChartCustomAxis class directly. Use the following descendants instead:

    TdxChartAxisX
    Stores settings of an axis of arguments in an XY diagram.
    TdxChartAxisY
    Stores settings of an axis of values in an XY diagram.
    TdxChartSecondaryAxisX
    A secondary axis of arguments.
    TdxChartSecondaryAxisY
    A secondary axis of values.
    See Also