Live needle

The needle follows a live value; no overshoot on updates.

Chart type
Gauge gauge
Tier
Free Core
Collection
Gauge
Render
Live, site theme
View .md Agent setup
LIVE/gauge/live-needle-gauge6 of 7 in Gauge

Configuration

Raw Standalone
const options = {
  chart: {
    height: 340,
    fontFamily: "Inter, Geist, \"IBM Plex Sans\", system-ui, sans-serif",
    type: "gauge",
    toolbar: {
      show: false
    }
  },
  series: [52],
  labels: ["Requests/s (k)"],
  plotOptions: {
    radialBar: {
      shape: "needle",
      min: 0,
      max: 120,
      startAngle: -120,
      endAngle: 120,
      ticks: {
        show: true,
        major: {
          count: 7
        },
        minor: {
          count: 3
        }
      },
      needle: {
        showValueArc: true
      },
      dataLabels: {
        name: {
          show: true
        }
      }
    }
  },
  theme: {
    mode: "light",
    preset: "coastal"
  }
}

const chart = new WestCoastCharts(document.querySelector('#chart'), options)
chart.render()