New: AI agents can write charts

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.

StoreTraffic.razor
Chart "Store traffic" with 2 series. Web: 192 values, lowest 28 at 11/17/2026 7:45 AM, highest 252 at 11/16/2026 8:00 PM, trend stable. App: 192 values, lowest 13 at 11/16/2026 7:45 AM, highest 165 at 11/17/2026 7:45 PM, trend rising. Store traffic0100200300Nov 1612:00 PMNov 1712:00 PMSessions per 15 minWebAppFlash sale: 11/16/2026 6:00 PM – 11/16/2026 10:00 PMFlash saleUse Left and Right to move between points, Up and Down to change series. Press Escape to leave.

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
Razor
<RioChart Items="orders">
    <LineSeries XValue="o => o.Day"
                YValue="o => o.Total" />
</RioChart>
Get started

On the server

PNG and SVG without a browser, from any .NET app: reports, emails, Teams messages, APIs and jobs.

RioCharts.Skia
C#
// The same chart, as an image
byte[] png = ChartExport.ToPng(
    spec, data, new() { Width = 640 });
Server-side export

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)
JSON
{ "dataset": "orders",
  "series": [{ "type": "bar",
    "x": "region", "y": "total",
    "aggregate": "sum" }] }
AI agents and MCP

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
Read the guide
Razor
<RioChart Items="orders">
    <LineSeries XValue="r => r.Time" YValue="r => r.Value" />
</RioChart>

1.0 release candidate

The 1.0 API is frozen; from 1.0, updates within 1.x never break your code.

An unhandled error has occurred. Reload 🗙