Reference > Properties > MarginTop Property

SharpPlot.MarginTop Property

Set Top margin (pts)

public double MarginTop {get; set;}

Example

sp.MarginTop = 36;

This allows space (in points) for the chart heading and sub-heading. You will probably need to increase it if you have a heading that spans more than 2 lines. If you use left or right aligned headings for Pie or Polar charts, you can probably reduce this to zero as the headings will not clash with the chart in this case.

See also ...

SharpPlot Members


Send comments on this topic
© Dyalog Ltd 2013