| Contents > SharpPlot > Methods | Index |
SharpPlot.SetMargins Method
Set all four chart margins (in pts) in one call (a single value sets all four to the same).
Example
sp.SetMargins(12); // Same all round sp.SetMargins(16,24,48,6);
Overloads
- public void SetMargins(double margins);
- public void SetMargins(double top,double bottom,double left,double right);
