ScottPlot.NET
GitHub Repo stars

Annotation Positions

Annotations are aligned with the data area.

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

foreach (Alignment alignment in Enum.GetValues(typeof(Alignment)))
{
    myPlot.Add.Annotation(alignment.ToString(), alignment);
}

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

Edit on GitHub