Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/oxyplot/oxyplot-avalonia
- Owner: oxyplot
- License: mit
- Created: 2017-06-14T08:22:21.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-08-11T15:03:23.000Z (4 months ago)
- Last Synced: 2024-10-30T01:02:41.790Z (about 1 month ago)
- Topics: avalonia, avaloniaui, charts, dotnet, netstandard, oxyplot, plotting
- Language: C#
- Homepage: https://oxyplot.github.io/
- Size: 537 KB
- Stars: 269
- Watchers: 11
- Forks: 47
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-avalonia - OxyPlot - A cross-platform plotting library for .NET. (Libraries & Extensions / Charts & Plots & Diagrams)
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
```