Skip to content
On this page

Config-first Mode

Config-first is the fastest way to ship charts.

Entity example

js
{
  type: "bar",
  data: [
    { label: "Jan", value: 100 },
    { label: "Feb", value: 150 },
    { label: "Mar", value: 120 },
  ],
  width: 800,
  height: 400,
  showGrid: true,
  showTooltip: true,
  showLegend: false,
}
1
2
3
4
5
6
7
8
9
10
11
12
13

Render it with:

js
api.render("salesBarChart")
1

Good fit

  • Standard dashboards
  • Faster implementation
  • Teams that prefer data config over render composition

Released under the MIT License.