OxyPlot.DotNetAndroid
1.0.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package OxyPlot.DotNetAndroid --version 1.0.0
NuGet\Install-Package OxyPlot.DotNetAndroid -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OxyPlot.DotNetAndroid" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OxyPlot.DotNetAndroid" Version="1.0.0" />
<PackageReference Include="OxyPlot.DotNetAndroid" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add OxyPlot.DotNetAndroid --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: OxyPlot.DotNetAndroid, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package OxyPlot.DotNetAndroid@1.0.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=OxyPlot.DotNetAndroid&version=1.0.0
#tool nuget:?package=OxyPlot.DotNetAndroid&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
OxyPlot.DotNetAndroid
High-performance charting library for .NET 10 Android applications using OxyPlot.
<a href="https://www.nuget.org/packages/Oxyplot.DotNetAndroid" alt="Nuget Package"><img src="https://img.shields.io/nuget/v/Oxyplot.DotNetAndroid.svg?logo=nuget" title="Go To Nuget Package" alt="Nuget Package"/></a>
Features
- Chart Types: Line, Bar, Scatter, Pie, Real-time, Multi-series
- Touch Gestures: Pan, zoom, pinch with native Android support
- High Performance: Hardware-accelerated rendering
- Customizable: Themes, colors, fonts, and styling options
Quick Start
using OxyPlot.DotNetAndroid;
using OxyPlot;
using OxyPlot.Series;
using OxyPlot.Axes;
// Create PlotView
var plotView = new PlotView(context);
// Create chart model
var model = new PlotModel { Title = "Sample Chart" };
model.Axes.Add(new LinearAxis { Position = AxisPosition.Bottom });
model.Axes.Add(new LinearAxis { Position = AxisPosition.Left });
// Add data series
var series = new LineSeries { Title = "Data", Color = OxyColors.Blue };
for (int i = 0; i < 100; i++)
{
series.Points.Add(new DataPoint(i * 0.1, Math.Sin(i * 0.1)));
}
model.Series.Add(series);
// Assign and render
plotView.Model = model;
plotView.Invalidate();
Chart Examples
Line Chart
var model = new PlotModel { Title = "Line Chart" };
var series = new LineSeries { Color = OxyColors.Blue };
// Add data points...
model.Series.Add(series);
plotView.Model = model;
Bar Chart
var model = new PlotModel { Title = "Bar Chart" };
var barSeries = new BarSeries();
barSeries.Items.Add(new BarItem { Value = 25 });
// Add more items...
model.Series.Add(barSeries);
Scatter Plot
var model = new PlotModel { Title = "Scatter Plot" };
var scatterSeries = new ScatterSeries { MarkerType = MarkerType.Circle };
// Add scatter points...
model.Series.Add(scatterSeries);
Touch Interactions
- Pan: Drag to move around the chart
- Zoom: Pinch to zoom in/out
- Reset: Double-tap to reset view
- Tracker: Tap data points for details
Requirements
- .NET 10 Android target framework
- Android API Level 21 (Android 5.0) or higher
- OxyPlot.Core and OxyPlot.SkiaSharp dependencies
Sample Application
Clone and run the included sample:
git clone https://github.com/AndreCL/Oxyplot.DotNetAndroid.git
cd Oxyplot.DotNetAndroid
dotnet run --project Sample.OxyPlot.Android
License
MIT License - see LICENSE for details.
Support
Built on OxyPlot with SkiaSharp rendering.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-android36.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0-android36.0
- OxyPlot.Core (>= 2.1.2)
- OxyPlot.SkiaSharp (>= 2.1.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.