Abgerundeter Donut

Abgerundete Enden der Donutsegmente.

Chart type
Donut donut
Tier
Kostenloser Core
Collection
Pie & donut
Zeichnen
Live im Website-Design
.md ansehen Agenten einrichten
LIVE/pie/rounded-donut3 of 10 in Pie

Configuration

Original Standalone
const options = {
  chart: {
    height: 380,
    fontFamily: "Inter, Geist, \"IBM Plex Sans\", system-ui, sans-serif",
    type: "donut",
    toolbar: {
      show: false
    }
  },
  series: [52, 28, 20],
  labels: ["Done", "In progress", "To do"],
  stroke: {
    lineCap: "round",
    width: 0
  },
  plotOptions: {
    pie: {
      donut: {
        size: "72%"
      }
    }
  },
  colors: ["#16a34a", "#f59e0b", "#cbd5e1"],
  title: {
    text: "Sprint tasks"
  },
  theme: {
    mode: "light",
    preset: "coastal"
  }
}

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