I'm trying to get ApexCharts running on my Vue Project (I use Vue3) and I'm having issues with the piechart/donut chart. The code below works if I change the type under the template tag to "bar"
<template>
<div>
<apexchart v-if="loaded" width="500" type="pie" :options="chartOptions" :series="series"></apexchart>
</div>
</template>
<script>
export default {
data() {
return {
loaded:true,
series: [{
data:[23, 11, 54, 72, 12]
}],
chartOptions: {
labels: ["Apple", "Mango", "Banana", "Papaya", "Orange"],
dataLabels: {
enabled: true
},
responsive: [{
breakpoint: 480,
options: {
chart: {
width: 200
},
legend: {
positon:'bottom',
show: false
}
}
}],
}
}
}
};
</script>
This is the result when I run in the broswer. Only the legend shows up.

I need to use Pie and Donut charts with data that I will get from the API but I'm unable to run even with static hard-coded data.
<apexcharts>to line or bar but not for pie/donut - ShippyDippy