RioCharts.Core 0.1.50-preview

This is a prerelease version of RioCharts.Core.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package RioCharts.Core --version 0.1.50-preview
                    
NuGet\Install-Package RioCharts.Core -Version 0.1.50-preview
                    
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="RioCharts.Core" Version="0.1.50-preview" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RioCharts.Core" Version="0.1.50-preview" />
                    
Directory.Packages.props
<PackageReference Include="RioCharts.Core" />
                    
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 RioCharts.Core --version 0.1.50-preview
                    
#r "nuget: RioCharts.Core, 0.1.50-preview"
                    
#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 RioCharts.Core@0.1.50-preview
                    
#: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=RioCharts.Core&version=0.1.50-preview&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=RioCharts.Core&version=0.1.50-preview&prerelease
                    
Install as a Cake Tool

RioCharts

A pure .NET chart library, with Blazor as the first target. C# does the math and layout, Razor renders SVG, and a tiny JS module only measures the container and the font.

Docs and live examples: https://joadan.github.io/RioCharts/

Early preview. APIs will change without notice before 1.0.

Packages

Package What
RioCharts.Blazor <RioChart> with line, area, range area, bar (vertical or horizontal), scatter, heatmap, pie, donut and radial bar series; tooltips, zoom, annotations, export, keyboard and screen reader support, light and dark themes.
RioCharts.Core The chart engine: scales, ticks, layout and a render-agnostic scene. No UI dependencies.
RioCharts.Skia Server-side export to SVG and PNG with SkiaSharp, for reports, emails and agents.
RioCharts.AI create_chart and render_chart tools for AI agents (Microsoft.Extensions.AI and MCP).
RioCharts.Mcp riocharts-mcp: a local MCP server (.NET tool) that renders charts to PNG or SVG files.

Blazor

Reference RioCharts.Blazor and add @using RioCharts.Blazor and @using RioCharts.Core to _Imports.razor. Styles come with {YourApp}.styles.css automatically.

<RioChart Items="traffic" YAxis="@(new AxisSpec { Title = "Sessions" })">
    <ReferenceLine Value="1000" Label="Campaign goal" />
    <LineSeries Name="Web" XValue="r => r.Timestamp" YValue="r => r.Sessions" />
</RioChart>

Server-side export

byte[] png = ChartExport.ToPng(spec, data, new ExportOptions { Width = 640, Height = 320 });

MCP server for agents

dotnet tool install -g RioCharts.Mcp --prerelease
{ "mcpServers": { "riocharts": { "command": "riocharts-mcp", "args": ["--data", "data", "--out", "charts"] } } }

Source, changelog and issues: https://github.com/joadan/RioCharts (MIT license).

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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.
  • net10.0

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on RioCharts.Core:

Package Downloads
RioCharts.Skia

Server-side export for RioCharts: renders the same chart model and layout as the Blazor components to SVG or PNG with SkiaSharp, with real text measurement. For reports, emails, Teams messages and AI agents.

RioCharts.Blazor

Blazor charts rendered as SVG, built on RioCharts.Core. Provides a responsive <RioChart> with line, area, bar, pie, donut and radial bar series, tooltips, zoom and pan, annotations, live data, an interactive legend, light and dark themes through CSS variables, and a tiny JS module for measurement and interaction.

RioCharts.AI

AI chart creation for RioCharts: a create_chart tool for agents (Microsoft.Extensions.AI AIFunction and MCP server tools) that validates a JSON chart definition against your datasets with actionable errors, renders it on the server and summarizes it; plus the JSON schema and spec-to-Razor export.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.86-rc 69 11/30/2026
1.0.77-rc 89 11/27/2026
1.0.42-rc 92 11/25/2026
1.0.2-rc 84 11/25/2026
0.7.6-preview 90 11/24/2026
0.7.2-preview 83 11/24/2026
0.6.2-preview 76 11/24/2026
0.5.23-preview 76 11/24/2026
0.5.2-preview 82 11/24/2026
0.4.1-preview 73 11/23/2026
0.3.1-preview 73 11/23/2026
0.2.8-preview 73 11/22/2026
0.2.1-preview 83 11/22/2026
0.1.50-preview 75 11/21/2026
0.1.14-preview 77 11/20/2026
0.1.2-preview 79 11/20/2026