Beautiful charts
for .NET
One chart model, drawn everywhere: interactive in Blazor, PNG and SVG on the server, and created by AI agents from JSON. C# does the math and layout. Good defaults, zero configuration.
Live. Hover it, click the legend.
One chart model, three ways out
The same engine lays out every chart, so it looks the same wherever it ends up.
In Blazor apps
An interactive component: tooltips, zoom, selection and live data. Server, WebAssembly and static SSR.
RioCharts.Blazor
<RioChart Items="orders">
<LineSeries XValue="o => o.Day"
YValue="o => o.Total" />
</RioChart>On the server
PNG and SVG without a browser, from any .NET app: reports, emails, Teams messages, APIs and jobs.
RioCharts.Skia
// The same chart, as an image
byte[] png = ChartExport.ToPng(
spec, data, new() { Width = 640 });From AI agents
Agents chart data from a JSON definition: create_chart in your app, or riocharts-mcp for coding agents.
RioCharts.Mcp (riocharts-mcp)
{ "dataset": "orders",
"series": [{ "type": "bar",
"x": "region", "y": "total",
"aggregate": "sum" }] }Many kinds of charts
Line, area, bar, scatter, bubble, pie, donut, radial bar, gauge, bullet, funnel, radar, heatmap, box plot, histogram, dumbbell, range bar (timeline), candlestick, waterfall and treemap. Every card below is a live chart.
Everything a dashboard needs
Built for real data: time series, gaps, live streams and a lot of points.
Three lines to a finished chart
Pass items and say which property is x and which is y. The axis type follows the data, ticks land on nice numbers and calendar boundaries, and labels follow the culture.
- No JavaScript to write, no chart library to load
- Works on Blazor Server, WebAssembly and static SSR
- Light and dark themes from CSS variables
- Accessible: keyboard focus and a text description
<RioChart Items="orders">
<LineSeries XValue="r => r.Time" YValue="r => r.Value" />
</RioChart>Packages
Take the parts you need. Core has no UI dependencies at all.
RioCharts.Core
Scales, ticks, layout, the chart definition and JSON definitions.RioCharts.Blazor
The <RioChart> component, series, annotations and the SVG renderer.RioCharts.Skia
Server-side export to SVG and PNG, for reports and e-mail.RioCharts.AI
The create_chart tool for agents: Microsoft.Extensions.AI and MCP.RioCharts.Mcp
riocharts-mcp: a local MCP server (.NET tool) that renders charts to files.1.0 release candidate
The 1.0 API is frozen; from 1.0, updates within 1.x never break your code.