Sets Top margin as percentage of Chart Drawing.
public Double MarginTop {get; set;}

Remarks


Default; 8

Each Chart.Panel class has four margin properties: LeftMargin, RightMargin, TopMargin, BottomMargin.

These properties are expressed as a percentage of the pixel height (for top and bottom margins) and width (for left and right margins) of the Chart Drawing Canvas. Default values are 8 for top and bottom margins and 12 for left and right margins.

Or they can be expressed in pixels by changing the MarginUnits from percentage (default) to pixels.

Example


[C#]

You can change the margin properties both at design and runtime:

tChart1.Panel.MarginUnits = PanelMarginUnits.Pixels; 
tChart1.Panel.MarginTop = 20;

See Also

Panel Class | Panel Members | Steema.TeeChart Namespace