Avalonia.Controls.Charts
12.1.1
Prefix Reserved
dotnet add package Avalonia.Controls.Charts --version 12.1.1
NuGet\Install-Package Avalonia.Controls.Charts -Version 12.1.1
<PackageReference Include="Avalonia.Controls.Charts" Version="12.1.1" />
<PackageVersion Include="Avalonia.Controls.Charts" Version="12.1.1" />
<PackageReference Include="Avalonia.Controls.Charts" />
paket add Avalonia.Controls.Charts --version 12.1.1
#r "nuget: Avalonia.Controls.Charts, 12.1.1"
#:package Avalonia.Controls.Charts@12.1.1
#addin nuget:?package=Avalonia.Controls.Charts&version=12.1.1
#tool nuget:?package=Avalonia.Controls.Charts&version=12.1.1
Avalonia.Controls.Charts
A charting library for Avalonia UI applications. Provides chart controls for cross-platform data visualization, including Cartesian, circular, gauge, heatmap, dashboard, and map scenarios.
Documentation
- Chart controls guide
- API reference
- Installing Avalonia Pro controls
- Charts product and licensing overview
Features
- Chart controls for multiple visualization scenarios
- Cross-platform support for Avalonia applications
- Category, numerical, date/time, and logarithmic axis support
- Legends, markers, tooltips, trackball, zooming, and selection
- Theme integration for Avalonia applications
Quick Start
Add the package:
dotnet add package Avalonia.Controls.Charts
Include the chart theme in your application styles:
<Application xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Application.Styles>
<FluentTheme />
<StyleInclude Source="avares://Avalonia.Controls.Charts/Themes/Default.axaml" />
</Application.Styles>
</Application>
Create a simple Cartesian chart:
<UserControl xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:charts="https://avaloniaui.net/controls/charts"
x:Class="MyApp.Views.SalesView">
<charts:CartesianChart Title="Quarterly Revenue"
Height="280"
ShowLegend="True">
<charts:CartesianChart.HorizontalAxis>
<charts:CategoryAxis />
</charts:CartesianChart.HorizontalAxis>
<charts:CartesianChart.VerticalAxis>
<charts:NumericalAxis LabelFormat="C0" />
</charts:CartesianChart.VerticalAxis>
<charts:CartesianChart.Series>
<charts:BarSeries Title="Revenue"
ItemsSource="{Binding Revenue}"
CategoryPath="Quarter"
ValuePath="Amount"
Fill="SteelBlue" />
</charts:CartesianChart.Series>
</charts:CartesianChart>
</UserControl>
Licensing
Avalonia.Controls.Charts is a commercial Avalonia component.
Add your Avalonia license key to the executable project file (.csproj):
<ItemGroup>
<AvaloniaUILicenseKey Include="YOUR_LICENSE_KEY" />
</ItemGroup>
For CI or multi-project solutions, prefer an environment variable or a shared props file so the key is not committed to source control.
Build-time and runtime validation checks look for a Charts entitlement. If the key is missing, blank, invalid, or does not include Charts, the package can restore but chart initialization will not be licensed.
For current commercial terms, see the Avalonia Legal Center.
Dependencies
Avalonia
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net9.0
- Avalonia (>= 12.0.0)
- AvaloniaUI.Licensing (>= 3.0.7)
- SkiaSharp (>= 3.119.3-preview.1.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Avalonia.Controls.Charts:
| Package | Downloads |
|---|---|
|
Devolutions.AvaloniaControls.SpreadsheetEditor
An Excel-like spreadsheet editor control for Avalonia UI: a custom grid with cell merging, rich in-cell editing, a formula engine, charts, multi-sheet tabs, undo/redo, and printing. Requires the commercial Avalonia Accelerate packages (a valid Avalonia UI license key must be supplied by the consuming application). |
GitHub repositories
This package is not used by any popular GitHub repositories.