ScottPlot.NET
GitHub Repo stars

Grid Line Style

Grid lines have many options to allow extensive customization.

ScottPlot.Plot myPlot = new();

myPlot.Add.Signal(Generate.Sin(51));
myPlot.Add.Signal(Generate.Cos(51));

myPlot.Grid.LineColor = Colors.Blue.WithAlpha(.2);
myPlot.Grid.LinePattern = LinePattern.Dotted;

myPlot.SavePng("demo.png", 400, 300);
This recipe is one of many in the Axis and Ticks category