echarts
echarts copied to clipboard
使用dataset的雷达图,图例的联动效果不能正常触发
Version
5.3.3
Link to Minimal Reproduction
No response
Steps to Reproduce
option = { dataset: { dimensions: ['product', '2015', '2016', '2017'], source: [ { product: 'Matcha Latte', 2015: 10, 2016: 20, 2017: 30 }, { product: 'Matcha123', 2015: 20, 2016: 30, 2017: 40 } ] }, legend: { show: true, data: ['Matcha Latte', 'Matcha123'] }, tooltip: { show: true }, radar: { indicator: [ { max: 100, name: 2015 }, { max: 100, name: 2016 }, { max: 100, name: 2017 } ] }, series: [ { type: 'radar', name: 'Matcha Latte', encode: { value: 'product' } }, { type: 'radar', name: 'Matcha123', encode: { value: 'product' } } ] };
Current Behavior
点击图例,对应的雷达线不会关闭,点击第一个图例 两个线全部消失。 没有在官网中找到类似的雷达图+数据集的示例
Expected Behavior
期望点击图例正常显示隐藏对应的线
Environment
网站5.3.3即可触发
Any additional comments?
No response