| 
 SharpPlot Reference > SharpPlot Properties > YAxisLength Property (ReadOnly) SharpPlot.YAxisLength Property (ReadOnly)
Returns the calculated length of the Y-axis given the current settings of page size, gutter and horizontal margins. 
public double YAxisLength {get;}
Example
double yl = sp.YAxisLength; 
This may be useful if you want to size an image to paint the entire chart background exactly. The value (in conjunction with the matching X-axis property) will give you the exact width and height required. 
 Send comments on this topic © Dyalog Ltd 2021 
 |