<template>
<div>
<div id="chart">
<apexchart
type="radar"
height="350"
:options="chartOptions"
:series="series"
></apexchart>
</div>
</div>
</template>
<script>
import VueApexCharts from 'vue-apexcharts'
export default {
components: {
apexchart: VueApexCharts,
},
data: function () {
return {
series: [
{
name: 'Revenue ($k)',
data: [80, 50, 30, 40, 100, 20],
},
],
chartOptions: {
chart: {
height: 350,
type: 'radar',
},
title: {
text: 'Monthly Sales Performance',
},
yaxis: {
stepSize: 20,
},
xaxis: {
categories: ['January', 'February', 'March', 'April', 'May', 'June'],
},
},
}
},
}
</script>
<style>
#chart {
max-width: 450px;
margin: 35px auto;
}
</style>