SharpPlot Tutorials > Style Examples > Minor Tickmarks

Minor Tickmarks

This style may be used for either the X or Y axes to insert minor ticks automatically.


sp.SetYTickMarks(50);
sp.XTickStyle = XTickStyles.MinorTicks;
sp.YTickStyle = YTickStyles.MinorTicks;
sp.DrawLineGraph(col_S4);


The style applies to all the rectangular 2D charts. For more exact control, set the second element of X/Y Tickmarks to the required number of minor ticks between each major.

See also ...

SharpPlot.SetXTickMarks Method | SharpPlot.SetYTickMarks Method


Send comments on this topic
© Dyalog Ltd 2021