How To Use Events on vue3-apexcharts
Sep 9, 2021
If you are stuck to use events on vue3-apexcharts, this article is useful to you.
<template>
<apexchart
v-if="options && series"
type="line"
height="350"
:options="options"
:series="series" @click="click"
@legendClick="legendClick"
@markerClick="markerClick"
@selection="selection"
@dataPointSelection="dataPointSelection"
>
</apexchart>
</template><script>
export default {
data() {
return {
options: {
chart: {
id: 'vuechart-example'…