Avalonia.Controls.Charts
12.1.0
Prefix Reserved
dotnet add package Avalonia.Controls.Charts --version 12.1.0
NuGet\Install-Package Avalonia.Controls.Charts -Version 12.1.0
<PackageReference Include="Avalonia.Controls.Charts" Version="12.1.0" />
<PackageVersion Include="Avalonia.Controls.Charts" Version="12.1.0" />
<PackageReference Include="Avalonia.Controls.Charts" />
paket add Avalonia.Controls.Charts --version 12.1.0
#r "nuget: Avalonia.Controls.Charts, 12.1.0"
#:package Avalonia.Controls.Charts@12.1.0
#addin nuget:?package=Avalonia.Controls.Charts&version=12.1.0
#tool nuget:?package=Avalonia.Controls.Charts&version=12.1.0
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.
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>
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.