Reference > Properties > YGridThreshold Property

SharpPlot.YGridThreshold Property

Set Y grid threshold. The default value is 80% of standard tick length, or 4pt if YTickStyle is Absolute.

public double YGridThreshold {get; set;}

Example

sp.YGridThreshold = 80;

This will draw horizontal gridlines for any major ticks which exceed this value.

sp.YGridThreshold = 3.2;

This will draw horizontal gridlines at any major tickmarks which are above 3.2pt if the YTickStyle has been set to Absolute.

See also ...

SharpPlot Members | YTickStyle Property | SetYTickLengths Method


Send comments on this topic
© Dyalog Ltd 2013