TdxChartLegendAppearance.ItemIndent Property
Specifies horizontal and vertical distances (in pixels) between legend items.
Declaration
property ItemIndent: TdxSizeFloat read; write;
Property Value
Type | Description |
---|---|
TdxSizeFloat | The The |
Remarks
Use ItemIndent
.Width and ItemIndent
.Height properties to shrink or expand gaps between columns and rows of legend items, respectively.
Property Value Examples
ItemIndent.Width Value | ItemIndent.Height Value | Example[1] |
---|---|---|
12 |
2 [2] |
|
24 |
10 |
Property Values and Scaling
ItemIndent
.Width and ItemIndent
.Height properties specify the base pixel distances between legend items that correspond to 96
DPI. The Chart control’s draw routines multiply ItemIndent
.Width and ItemIndent
.Height property values by the current scale factor and round the results to the nearest integer to calculate the actual distances between legend items on the target screen.
Default Value
The ItemIndent
property’s default value is the DefaultItemIndent typed constant.
-
These examples demonstrate different
ItemIndent
.Width andItemIndent
.Height property values for the same simple diagram with one Doughnut series under the following conditions:- The diagram’s Legend.AlignmentHorz property is set to TdxChartLegendAlignment.Far.
- The Legend.AlignmentVert property is set to TdxChartLegendAlignment.Near.
-
The default legend item indents.