SharpPlot Tutorials > Style Examples > Overlayed gridlines

Overlayed gridlines

Draws the gridlines ontop of the data. May be set as ‘style’, ‘xstyle’ or ‘ystyle’ to control the axis grids independently.


sp.BarChartStyle = BarChartStyles.OverlayGrid;
sp.YAxisStyle = YAxisStyles.OverlayGrid;

The example shows a typical barchart from Tufte’s book, using white gridlines to achieve the ‘dissected’ effect he recommends.

See also ...

SharpPlot Members | SharpPlot.BarChartStyle Property | SharpPlot.BoxPlotStyle Property | SharpPlot.GanttChartStyle Property | SharpPlot.LineGraphStyle Property | SharpPlot.PolarChartStyle Property | SharpPlot.ScatterPlotStyle Property | SharpPlot.StepChartStyle Property | SharpPlot.XAxisStyle Property | SharpPlot.XBarChartStyle Property | SharpPlot.YAxisStyle Property


Send comments on this topic
© Dyalog Ltd 2021