this.chart = echarts.init(this.$el as HTMLDivElement) переписать на vue 3
- User
this.chart = echarts.init(this.$el as HTMLDivElement) переписать на vue 3
- Assistant
In Vue 3, the process of initializing an ECharts chart will be similar, but there are some changes in the Vue ecosystem that might affect how you proceed, especially if you're using the Composition API.