1<template>
2 <ReportsDoughnutChart
3 title="Consumption per room"
4 tooltip="See the consumption per room"
5 :count="{ number: 471.3, text: 'WATTS' }"
6 :chartOptions="{
7 chart: {
8 type: 'donut',
9 },
10 labels: ['Living Room', 'Attic', 'Basement', 'Kitchen', 'Garage'],
11 colors: ['#2152ff', '#3A416F', '#f53939', '#a8b8d8', '#4BB543'],
12 dataLabels: {
13 enabled: false,
14 },
15 legend: {
16 show: false,
17 },
18 responsive: [
19 {
20 breakpoint: 480,
21 options: {
22 chart: {
23 width: 200,
24 },
25 },
26 },
27 ],
28 }"
29 :series="[15, 20, 13, 32, 20]"
30 />
31</template>
32
33<script setup>
34import ReportsDoughnutChart from "@/examples/charts/ReportsDoughnutChart.vue";
35</script>