TdxChartLegendAppearance.ImageSize Property
Specifies pixel dimensions of the area allocated to a legend item image.
Declaration
property ImageSize: TdxSizeFloat read; write;
Property Value
Type | Description |
---|---|
TdxSizeFloat |
|
Remarks
Use ImageSize
.Width and ImageSize
.Height properties to shrink or expand areas allocated to legend item images within the legend pane layout.
Property Value Examples
ImageSize.Width Value | ImageSize.Height Value | Example[1] |
---|---|---|
20 |
16 [2] |
|
10 |
8 |
|
30 |
24 |
Property Values and Scaling
ImageSize
.Width and ImageSize
.Height properties specify the base pixel dimensions of a legend item area that correspond to 96
DPI. The Chart control’s draw routines multiply ImageSize
.Width and ImageSize
.Height property values by the current scale factor and round the results to the nearest integer to calculate the actual item image dimensions on the target screen.
Default Value
The ImageSize
property’s default value is the DefaultImageSize typed constant.
-
These examples demonstrate different
ImageSize
.Width andImageSize
.Height property values for the same XY diagram with three simple Line series. -
The default glyph dimensions.