Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/oxyplot/oxyplot-avalonia

A cross-platform plotting library for .NET. This package targets Avalonia apps.
https://github.com/oxyplot/oxyplot-avalonia

avalonia avaloniaui charts dotnet netstandard oxyplot plotting

Last synced: 5 days ago
JSON representation

A cross-platform plotting library for .NET. This package targets Avalonia apps.

Awesome Lists containing this project

README

        

[![nuget](https://img.shields.io/nuget/v/OxyPlot.Avalonia.svg)](https://www.nuget.org/packages/OxyPlot.Avalonia) ![License](https://img.shields.io/github/license/oxyplot/oxyplot-avalonia.svg) ![Size](https://img.shields.io/github/repo-size/oxyplot/oxyplot-avalonia.svg)

# OxyPlot.Avalonia

[OxyPlot](https://github.com/oxyplot) is a plotting library for .NET. This [package](https://www.nuget.org/packages/OxyPlot.Avalonia) targets Avalonia applications.

```
dotnet add package OxyPlot.Avalonia
```

### Usage

To use the library, add the following to your `App.xaml`:

```xml










```

Then, you can add plots to your application, as such:

```xml



```

See the [AvaloniaExamples](https://github.com/oxyplot/oxyplot-avalonia/tree/master/Source/Examples/Avalonia/AvaloniaExamples) project and [OxyPlot Documentation](https://readthedocs.org/projects/oxyplot/downloads/pdf/latest/) to learn how to create more complex plots.

### Installing Preview Versions

To access the latest version of `OxyPlot.Avalonia` you can add this repo as a [submodule](https://git-scm.com/book/en/v2/Git-Tools-Submodules) to your own git repo:

```sh
mkdir ./external
git submodule add [email protected]:oxyplot/oxyplot-avalonia.git ./external/oxyplot-avalonia
# Reference the ../external/oxyplot-avalonia/Source/OxyPlot.Avalonia/OxyPlot.Avalonia.csproj project then.
```

Another way is to import our [Azure Artifacts NuGet package feed](https://worldbeater.visualstudio.com/OxyPlot.Avalonia/_packaging) by creating the following `nuget.config` file:

```xml




```

Next, install the latest preview version of the `OxyPlot.Avalonia` package as such:

```
dotnet add package OxyPlot.Avalonia
```