lius
2023-06-08 18db2443d2238ad6acc54bfca832b736898bf8b0
1
2
3
4
5
6
7
8
9
10
export const ChartEventMixins = {
  methods: {
    handleClick(event, chart) {
      this.handleEvent('click', event, chart)
    },
    handleEvent(eventName, event, chart) {
      this.$emit(eventName, event, chart)
    },
  }
}