ScottPlot.NET
GitHub Repo stars

Windows Forms Quickstart

Step 1: Install the ScottPlot.WinForms NuGet package

Step 2: Drag a FormsPlot from the Toolbox onto your Form

Note: If FormsPlot does not appear in the Visual Studio Toolbox or it produces an error when used, add a FormsPlot programmatically.

Step 3: Plot some data in your start-up sequence

double[] dataX = { 1, 2, 3, 4, 5 };
double[] dataY = { 1, 4, 9, 16, 25 };

formsPlot1.Plot.Add.Scatter(dataX, dataY);
formsPlot1.Refresh();