# oxyplot-avalonia
**Repository Path**: davidliu642874274/oxyplot-avalonia
## Basic Information
- **Project Name**: oxyplot-avalonia
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2025-02-18
- **Last Updated**: 2025-02-18
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
[](https://www.nuget.org/packages/OxyPlot.Avalonia)  
# 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 git@github.com: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
```