IMargins.Units
IMargins

property Units: EMarginUnits;

Type Library
TeeChartx

Description

Default value: muPercent

When Units is muPercent, chart margins are calculated as percentage of total chart width and height.

Percent margins are useful to obtain the same margin proportions, no matter the chart size.

When Units is muPixels, chart margins are just the pixel quantity.

Example:

Chart1.Margis.nUnits = muPixels

Chart1.Margins.Left = 10 ' 10 pixels

Chart1.Margins.Right : 10 ' 10 pixels