Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxChartLegendAppearance.ImageOffset Property

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

#Declaration

Delphi
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