ecomfe / vue-echarts

Vue.js component for Apache ECharts™.
https://vue-echarts.dev
MIT License
9.75k stars 1.49k forks source link

update-options 如何使用dispatchAction #661

Closed is-cool closed 2 years ago

is-cool commented 2 years ago

Confirmation

How are you introducing Vue-ECharts into your project?

ES Module imports

Versions

6.2.3

Details

update-options 如何使用dispatchAction,看了文档不是很明白 截屏2022-10-25 11 49 43

Reproduction

https://codesandbox.io/s/funny-black-05z8p0?file=/src/App.vue

is-cool commented 2 years ago
截屏2022-10-25 12 10 41
Justineo commented 2 years ago

你这个用法的来源是?

is-cool commented 2 years ago

你这个用法的来源是?

是我看错了,我是想用静态的方法,对图例切换做更改的,调用dispatchAction在点击图例的时候,隐藏其他图例。