MatPlotLibNet.Maui
0.4.1
dotnet add package MatPlotLibNet.Maui --version 0.4.1
NuGet\Install-Package MatPlotLibNet.Maui -Version 0.4.1
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="MatPlotLibNet.Maui" Version="0.4.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MatPlotLibNet.Maui" Version="0.4.1" />
<PackageReference Include="MatPlotLibNet.Maui" />
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 MatPlotLibNet.Maui --version 0.4.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MatPlotLibNet.Maui, 0.4.1"
#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 MatPlotLibNet.Maui@0.4.1
#: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=MatPlotLibNet.Maui&version=0.4.1
#tool nuget:?package=MatPlotLibNet.Maui&version=0.4.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
MatPlotLibNet.Maui
.NET MAUI control for the MatPlotLibNet charting library. Renders charts natively via Microsoft.Maui.Graphics.
Installation
dotnet add package MatPlotLibNet.Maui
Quick Start
XAML
<ContentPage xmlns:mpl="clr-namespace:MatPlotLibNet.Maui;assembly=MatPlotLibNet.Maui">
<mpl:MplChartView Figure="{Binding ChartFigure}" />
</ContentPage>
Code-behind
using MatPlotLibNet;
using MatPlotLibNet.Maui;
var chart = new MplChartView
{
Figure = Plt.Create()
.WithTitle("Sensor Data")
.Plot(time, values, l => l.Color = Color.Blue)
.Build()
};
MplChartView extends GraphicsView and re-renders automatically when the Figure property changes.
Supported platforms
- Android 21+
- iOS 15+
- Mac Catalyst 15+
- Windows 10.0.19041+
Dependencies
MatPlotLibNet(core)Microsoft.Maui.Controls
License
GPL-3.0 -- Copyright (c) 2026 H.P. Gansevoort
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-android36.0 is compatible. net10.0-ios26.0 is compatible. net10.0-maccatalyst26.0 is compatible. net10.0-windows10.0.19041 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0-android36.0
- MatPlotLibNet (>= 0.4.1)
- Microsoft.Maui.Controls (>= 10.0.51)
-
net10.0-ios26.0
- MatPlotLibNet (>= 0.4.1)
- Microsoft.Maui.Controls (>= 10.0.51)
-
net10.0-maccatalyst26.0
- MatPlotLibNet (>= 0.4.1)
- Microsoft.Maui.Controls (>= 10.0.51)
-
net10.0-windows10.0.19041
- MatPlotLibNet (>= 0.4.1)
- Microsoft.Maui.Controls (>= 10.0.51)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.