How To Use Events on vue3-apexcharts

Jangwook Kim
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'…

--

--

Jangwook Kim

Korean, live in Japan. The programmer. I love to learn something new things. I’m publishing my toy projects using GitHub. Visit https://www.jangwook.net.