SharpPlot Tutorials > Style Examples > Duplicated Tickmarks

Duplicated Tickmarks

This style may be used for either the X or Y axes to repeat the tickmarks on the far edge of the chart area. Its main use is for charts with the FrameAxes style where it may be useful to have the ticks continued around all four sides.


sp.LineGraphStyle = LineGraphStyles.FrameAxes|LineGraphStyles.GridLines;
sp.XTickStyle = XTickStyles.DuplicateTicks;
sp.YTickStyle = YTickStyles.DuplicateTicks;
sp.DrawLineGraph(col_S4);

The style applies to all the rectangular 2D charts.

See also ...

Duplicated Axes


Send comments on this topic
© Dyalog Ltd 2016