ScottPlot.NET
GitHub Repo stars

Scatter DateTime

A scatter plot may use DateTime units but be sure to setup the respective axis to display using DateTime format.

ScottPlot.Plot myPlot = new();

DateTime[] xs = Generate.ConsecutiveDays(100);
double[] ys = Generate.RandomWalk(xs.Length);

myPlot.Add.Scatter(xs, ys);
myPlot.Axes.DateTimeTicksBottom();

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