Skip to content

BizUnity/ScottPlot.Avalonia-V11P5

Repository files navigation

ScottPlot is a free and open-source plotting library for .NET that makes it easy to interactively display large datasets. This package provides an Avalonia control for interactive manipulation of ScottPlot plots.

Avalonia Quickstart

Add an AvaPlot to your window and give it a unique name:

<ScottPlot:AvaPlot Name="AvaPlot1"/>

Add the following to your start-up sequence:

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

AvaPlot avaPlot1 = this.Find<AvaPlot>("AvaPlot1");
avaPlot1.Plot.AddScatter(dataX, dataY);

Additional quickstart information can be found at https://scottplot.net/quickstart/avalonia/

ScottPlot Cookbook

The ScottPlot Cookbook demonstrates how to create line plots, bar charts, pie graphs, scatter plots, and more with just a few lines of code.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages