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
                    
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="Avalonia.Controls.Charts" Version="12.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Avalonia.Controls.Charts" Version="12.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Avalonia.Controls.Charts" />
                    
Project file
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 Avalonia.Controls.Charts --version 12.1.0
                    
#r "nuget: Avalonia.Controls.Charts, 12.1.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 Avalonia.Controls.Charts@12.1.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=Avalonia.Controls.Charts&version=12.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Avalonia.Controls.Charts&version=12.1.0
                    
Install as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.

Version Downloads Last Updated
12.1.0 1,052 6/8/2026
12.0.0 379 5/12/2026