SharpPlot Tutorials > Style Examples > Grid lines

Grid lines

Gridlines are drawn from major tickmarks on all axes. This style is supported by all the conventional charts.


sp.LineGraphStyle = LineGraphStyles.GridLines;
sp.XAxisStyle = XAxisStyles.GridLines;

This style can also be set individually by axis.

See also ...

SharpPlot Members | SharpPlot.BarChartStyle Property | SharpPlot.BoxPlotStyle Property | SharpPlot.CloudChartStyle Property | SharpPlot.GanttChartStyle Property | SharpPlot.LineGraphStyle Property | SharpPlot.MinMaxChartStyle Property | SharpPlot.PolarChartStyle Property | SharpPlot.ResponsePlotStyle Property | SharpPlot.ScatterPlotStyle Property | SharpPlot.StepChartStyle Property | SharpPlot.TableStyle Property | SharpPlot.TowerChartStyle Property | SharpPlot.TraceChartStyle Property | SharpPlot.XAxisStyle Property | SharpPlot.XBarChartStyle Property | SharpPlot.YAxisStyle Property | SharpPlot.ZAxisStyle Property


Send comments on this topic
© Dyalog Ltd 2021