SharpPlot Tutorials > Style Examples > Duplicated Axes Duplicated Axes
This style may be used for either the X or Y axes to repeat the axis on the far edge of the chart area. Labels and tickmarks will be redrawn as for the primary axis.

sp.XAxisStyle = XAxisStyles.DuplicateAxes;
sp.YAxisStyle = YAxisStyles.DuplicateAxes;
sp.DrawLineGraph(col_S4);
The style applies to all the rectangular 2D charts.
See also ...Duplicated Tickmarks
Send comments on this topic © Dyalog Ltd 2021
|