Back to Devexpress

TdxChartCrosshairLabelAppearance.CaptionOffset Property

vcl-dxchartcore-dot-tdxchartcrosshairlabelappearance.md

latest2.2 KB
Original Source

TdxChartCrosshairLabelAppearance.CaptionOffset Property

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

Declaration

delphi
property CaptionOffset: Single read; write;

Property Value

TypeDescription
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

ValueExample[1]
4 ( default )
15

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

TdxChartCrosshairLabelAppearance.ImageSize Property

TdxChartLegendAppearance.CaptionOffset Property

TdxChartCrosshairLabelAppearance Class

TdxChartCrosshairLabelAppearance Members

dxChartCore Unit