Ticks

Major and minor ticks with labels.

Chart type
Gauge gauge
Tier
Free Core
Collection
Gauge
Render
Live, site theme
View .md Agent setup
LIVE/gauge/gauge-with-ticks4 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: [118],
  labels: ["km/h"],
  plotOptions: {
    radialBar: {
      min: 0,
      max: 200,
      startAngle: -135,
      endAngle: 135,
      ticks: {
        show: true,
        major: {
          count: 11
        },
        minor: {
          count: 3
        },
        labels: {
          formatter: (v) => String(v)
        }
      },
      dataLabels: {
        name: {
          show: true
        }
      }
    }
  },
  theme: {
    mode: "light",
    preset: "coastal"
  }
}

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