| Contents > SharpPlot > Methods | Index |
SharpPlot.SetGridLineStyle Method
Set Gridline format given any of color, lineStyle and lineweight (pts).
Example
sp.SetGridLineStyle(Color.Gray,LineStyle.Solid,0.5);
Overloads
- public void SetGridLineStyle(Color lineColor);
- public void SetGridLineStyle(double lineWidth);
- public void SetGridLineStyle(LineStyle lineStyle);
- public void SetGridLineStyle(Color lineColor,LineStyle lineStyle);
- public void SetGridLineStyle(Color lineColor,LineStyle lineStyle,double lineWidth);
Gridlines are drawn at major tickmarks which exceed the current grid threshold value (default 80% of standard tick length).
