Skip to main content
All docs
V25.1
  • TdxChartCrosshairLabelAppearance.CaptionOffset Property

    Specifies the offset (in pixels) of crosshair label item captions from corresponding glyphs.

    Declaration

    property CaptionOffset: Single read; write;

    Property Value

    Type Description
    Single

    The offset (in pixels) of crosshair label item captions from corresponding glyphs at 96 DPI.

    Remarks

    Use the CaptionOffset property to adjust the distance between crosshair label item captions and corresponding glyphs.

    Property Value Examples

    Value Example[1]
    4 (default) VCL Chart Control: The Default Caption Offset in the Main Crosshair Label
    15 VCL Chart Control: An Increased Caption Offset in the Main Crosshair Label

    Property Value and Scaling

    The CaptionOffset property specifies the base offset of crosshair label item captions that corresponds to 96 DPI. The Chart control draw routines multiply the CaptionOffset property value by the current scale factor and round the result to the nearest integer to calculate the actual crosshair label item caption offset on the target screen.

    Default Value

    The CaptionOffset property’s default value is 4.

    Footnotes
    1. These examples demonstrate different CaptionOffset property values for the same XY diagram with three simple Line series.

    See Also