public PanelMarginUnits MarginUnits {get; set;}
Remarks
Default : Percent
This property sets the units in which the Margins are expressed; either as a percentage of the pixel height and width of the Chart Drawing Canvas, or in pixels from the panel borders.
Example
[C#]
private void Form1_Load(object sender, System.EventArgs e)
{
tChart1.Panel.MarginBottom = 20;
tChart1.Panel.MarginLeft = 16;
tChart1.Panel.MarginRight = 16;
tChart1.Panel.MarginTop = 20;
tChart1.Panel.MarginUnits = PanelMarginUnits.Pixels;
}
See Also
Panel Class | Panel Members | Steema.TeeChart Namespace