SharpPlot.SetYTickMarks Method

Set Y tick marks given a tickmark specification.

Example

sp.SetYTickMarks(100); // Every 100
sp.SetYTickMarks(AE.Join(50,1)); // Major,minor
sp.SetYTickMarks(new int[] {0,10,20,50,100}); // Exact placement

Overloads

The units of the major tick interval are normally just the units of the data, but there are some special cases when plotting time-related values. Axis styles which affect this calculation are:

The same applies if you choose to give tickmarks exactly as an array.

See also ...

SharpPlot Members | YAxisStyle Property