vcl-dxchartcore-dot-tdxchartvisualelementappearance-8982d610.md
Specifies visual element margins, in pixels.
property Margins: TcxMargin read; write;
| Type | Description |
|---|---|
| TcxMargin |
Stores pixel margins of a visual element.
|
Use Margins and Padding properties to adjust visual element margins and paddings, respectively.
Margins.Left, Margins.Top, Margins.Right, and Margins.Bottom properties allow you to customize individual visual element margins. Alternatively, you can use the Margins.All property to adjust all margins simultaneously.
Refer to the TcxMargin class description for detailed information on all available options.
Margins.Left, Margins.Top, Margins.Right, and Margins.Bottom properties specify the base visual element margins (in pixels) that correspond to 96 DPI. The Chart control’s draw routines multiply these property values by the current scale factor and round the result to the nearest integer to calculate actual margins on the target screen.
Different visual elements in the Chart control define different default margins.
See Also
TdxChartVisualElementAppearance Class