Reference > Properties > XIntercept Property

SharpPlot.XIntercept Property

To set the point where the Y-axis intercepts the X-axis.

public double XIntercept {get; set;}

Example

sp.XIntercept = 0;

This will move the Y-axis from its default position (at the left-hand side of the plotting region) to cross the X-axis at zero. You have the option of leaving the tickmarks and labels at the left edge, or having them stay with the axis using the Ystyle ‘stay’.

See also ...

SharpPlot Members


Send comments on this topic
© Dyalog Ltd 2014