ScottPlot.NET
GitHub Repo stars

Grid Above Data

Grid lines are typically drawn beneath data, but grids can be configured to render on top of plottables too.

This code sample is specific to ScottPlot 5 (details)
ScottPlot.Plot myPlot = new();

var sig = myPlot.Add.Signal(ScottPlot.Generate.Sin());
sig.LineWidth = 10;

myPlot.Grid.MajorLineWidth = 3;
myPlot.Grid.MajorLineColor = Colors.WhiteSmoke;
myPlot.Grid.IsBeneathPlottables = false;

myPlot.SavePng("demo.png", 400, 300);

Edit on GitHub