Bänder

Schwellenwertbänder mit Zwischenräumen.

Chart type
Messgerät gauge
Tier
Kostenloser Core
Collection
Messgerät
Zeichnen
Live im Website-Design
.md ansehen Agenten einrichten
LIVE/gauge/gauge-with-bands2 of 7 in Gauge

Configuration

Original Standalone
const options = {
  chart: {
    height: 320,
    fontFamily: "Inter, Geist, \"IBM Plex Sans\", system-ui, sans-serif",
    type: "gauge",
    toolbar: {
      show: false
    }
  },
  series: [68],
  labels: ["Disk"],
  plotOptions: {
    radialBar: {
      startAngle: -120,
      endAngle: 120,
      bands: [
        {
          from: 0,
          to: 60,
          color: "#16a34a",
          label: "OK"
        },
        {
          from: 60,
          to: 85,
          color: "#f59e0b",
          label: "Warn"
        },
        {
          from: 85,
          to: 100,
          color: "#dc2626",
          label: "Critical"
        }
      ],
      bandsStyle: {
        gap: 4
      },
      dataLabels: {
        name: {
          show: true
        }
      }
    }
  },
  theme: {
    mode: "light",
    preset: "coastal"
  }
}

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