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

    Stores XY series value label appearance and behavior settings.

    Declaration

    TdxChartXYSeriesValueLabels = class(
        TdxChartSeriesValueLabels
    )

    Remarks

    Value labels mark individual series values.

    VCL Chart Control: XY Series Value Labels

    Main API Members

    The list below outlines key members of the TdxChartSeriesValueLabels class that allow you to customize series value labels.

    Visible
    Hides or displays series value labels.
    Appearance
    Provides access to general appearance settings of series value labels.
    LineLength
    Specifies the length (in pixels) of lines that connect value points and the corresponding labels.
    LineVisible
    Specifies if lines between value labels and corresponding series points are visible.
    TextFormat
    Specifies a formatting pattern for value labels.
    MaxWidth | MaxLineCount
    Limit the width of value labels and the maximum number of text lines in them.
    ResolveOverlappingIndent
    Specifies the base minimum distance (in pixels) between value labels when value label resolution is enabled.
    Assign
    Copies value label settings between XY series.

    Tip

    If you need to customize individual series value labels, handle an XY diagram‘s OnGetValueLabelDrawParameters event.

    Terminal TdxChartXYSeriesValueLabels Class Descendants

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

    TdxChartXYSeriesBarValueLabels
    Stores value label appearance and behavior settings for an XY series with an active Bar View.
    TdxChartXYSeriesLineValueLabels
    Stores value label appearance and behavior settings for an XY series with an active Line or Area View.

    The ValueLabels property of an XY series View references one of these classes as a TdxChartXYSeriesValueLabels object depending on the actual series View type.

    See Also