Skip to content

Gauge ​

One value on a half circle, with an optional target.

Code ​

ts
createChart(host, {
  type: "gauge",
  value: 64,
  target: 80,
  unit: " %",
  name: "Goal 80 %"
});

Every field is in the API. Change this chart in the playground.

MIT License