← All SmartAdapters Visualization

SmartChartJS3Adapter

Brings the same AI charting to the ChartJS 3 control for richer, web-native visuals.

Attaches to ChartJS 3

For applications standardised on ChartJS 3, this adapter offers the same describe-and-render workflow as the chart adapter while targeting the ChartJS control and its visual options.

It is the right choice when you want the look and interactivity of ChartJS with AI doing the data shaping.

Everything else matches the Chart adapter — same hub, same endpoint, same one-line attachment — so you can switch chart stacks without touching the AI wiring.

What it gives you

  • AI-driven series generation for ChartJS 3.
  • Matches the ChartJS visual and interaction model.
  • Same conversational data-to-chart flow as SmartChartAdapter.

Use it for

  • Web-native dashboards built on ChartJS
  • Interactive visuals with AI-shaped data
  • Consistent charting across AI and manual flows

Like every adapter, it runs through a SmartHub and inherits its SmartEndpoint — switching the model or provider never changes this code.

csharp
var hub = new SmartHub(this) { Endpoint = endpoint };

var chart = new SmartChartJS3Adapter { Chart = chartJS1 };

await chart.RunAsync(
    "Show the split of sales by channel last quarter");

Read the SmartChartJS3Adapter docs ↗