Skip to main content

TdxChartLegendAppearance.ImageOffset Property

Specifies the offset (in pixels) of legend item images from the corresponding check boxes.

Declaration

property ImageOffset: Single read; write;

Property Value

Type Description
Single

The offset (in pixels) of legend item images from the corresponding check boxes at 96 DPI.

Remarks

Use the ImageOffset property to adjust the distance between legend item images and the corresponding check boxes.

Property Value Examples

Value Example
5 (default) VCL Chart Control: The Default Image Offset in the Diagram Legend Pane
15 VCL Chart Control: An Increased Image Offset in the Diagram Legend Pane

Property Values and Scaling

The ImageOffset property specifies the base offset of legend item images that corresponds to 96 DPI. The Chart control’s draw routines multiply the ImageOffset property value by the current scale factor and round the result to the nearest integer to calculate the actual legend item image offset on the target screen.

Default Value

The ImageOffset property’s default value is the DefaultImageOffset typed constant.

See Also