<template>
  <div>
    <div id="chart">
      <apexchart
        type="donut"
        width="480"
        :options="chartOptions"
        :series="series"
      ></apexchart>
    </div>
  </div>
</template>

<script>
import VueApexCharts from 'vue-apexcharts'

export default {
  components: {
    apexchart: VueApexCharts,
  },
  data: function () {
    return {
      series: [54, 41, 38, 16, 12],
      chartOptions: {
        chart: {
          width: 480,
          type: 'donut',
        },
        labels: [
          'North America',
          'Europe',
          'Asia Pacific',
          'Latin America',
          'Middle East',
        ],
        title: {
          text: 'Revenue by Region ($M)',
          align: 'center',
        },
        legend: {
          show: false,
        },
        plotOptions: {
          pie: {
            dataLabels: {
              external: {
                show: true,
              },
            },
          },
        },
        responsive: [
          {
            breakpoint: 480,
            options: {
              chart: {
                width: 320,
              },
            },
          },
        ],
      },
    }
  },
}
</script>

<style>
#chart {
  max-width: 480px;
  margin: 35px auto;
  padding: 0;
}
</style>
Simple Donut - Vue Pie / Donut Charts | ApexCharts.js | ApexCharts.js