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

    Stores settings of an axis of arguments in an XY diagram.

    Declaration

    TdxChartAxisX = class(
        TdxChartCustomAxisX
    )

    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 TdxChartAxisX class implements functionality and settings of the axis of arguments.

    VCL Chart Control: The Axis of Arguments (X-Axis) in an XY Diagram

    Main API Members

    The list below outlines key members of the TdxChartAxisX class that allow you to configure an axis of arguments in an XY diagram.

    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.
    OnCompareValues
    Allows you to implement a custom sorting algorithm for series points.
    Reverse
    Specifies if the axis direction is reversed.

    Direct TdxChartAxisX Class References

    An XY diagram’s Axes.AxisX property references a TdxChartAxisX object.

    See Also