SharpPlot Reference > SharpPlot Methods > SetXGridLines Method SharpPlot.SetXGridLines Method
Set X gridline(s) at chosen values.
Example
sp.SetXGridLines(new int[] {5,10,17,18,19,20,21});
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
|