TdxChartLegendAppearance.CaptionOffset Property
Specifies the offset (in pixels) of legend item captions from the corresponding glyphs.
Declaration
property CaptionOffset: Single read; write;
Property Value
| Type | Description |
|---|---|
| Single | The offset (in pixels) of legend item captions from the corresponding glyphs at |
Remarks
Use the CaptionOffset property to adjust the distance between legend item captions and the corresponding glyphs.
Property Value Examples
| Value | Example[1] |
|---|---|
4 (default) |
![]() |
15 |
![]() |
Property Values and Scaling
The CaptionOffset property specifies the base offset of legend item captions that corresponds to 96 DPI. The Chart control’s draw routines multiply the CaptionOffset property value by the current scale factor and round the result to the nearest integer to calculate the actual legend item caption offset on the target screen.
Default Value
The CaptionOffset property’s default value is the DefaultCaptionOffset typed constant.
-
These examples demonstrate different
CaptionOffsetproperty values for the same XY diagram with three simple Line series.

