SharpPlot Reference > SharpPlot Properties > MarginRight Property

SharpPlot.MarginRight Property

Set Right margin (pts)

public double MarginRight {get; set;}

Example

sp.MarginRight = 48;

This allows space (in points) from the end of the X-axis to the edge of the chart region. It is set by default to a small value, so you will need to increase it (say to 48 points) if you have a duplicate or right-hand Y-axis.

See also ...

SharpPlot Members


Send comments on this topic
© Dyalog Ltd 2021