SharpPlot Reference > SharpPlot Methods > SetYGridLines Method

SharpPlot.SetYGridLines Method

Set Y gridline(s) at chosen values.

Example

sp.SetYGridLines(new int[] {0,4,16,19,22,25});

Overloads

Note that gridlines will be clipped at the axis range – they do not automatically extend the range for you.


Send comments on this topic
© Dyalog Ltd 2021