TeeProcs.TCustomTeePanel.MarginUnits
 
 
 


TCustomTeePanel.MarginUnits
TCustomTeePanel

property MarginUnits: TTeeUnits;

Unit
TeeProcs

Description
Default value: muPercent

Determines the units of the four margin properties:

TCustomTeePanel.MarginLeft
TCustomTeePanel.MarginTop
TCustomTeePanel.MarginRight
TCustomTeePanel.MarginBottom

When MarginUnits 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 MarginUnits is muPixels, chart margins are just the pixel quantity.

Example:

Chart1.MarginUnits := muPixels ;
Chart1.MarginLeft := 10 ; // 10 pixels
Chart1.MarginRight := 10 ; // 10 pixels






Send us Help Feedback. Copyright 1995-2024 © by Steema Software. All Rights Reserved.