Version
5.2.2
Link to Minimal Reproduction
https://codepen.io/Atlas-lili/pen/yLzrwaw
Steps to Reproduce
- creat a stacked area chart and set emphasis.focus to series
{
series: [
{
name: 'Email',
type: 'line',
stack: 'Total',
areaStyle: {},
emphasis: {
focus: 'series'
},
data: [120, 0, 0, 0, 0, 0, 0]
},
{
name: 'Union Ads',
type: 'line',
stack: 'Total',
areaStyle: {},
emphasis: {
focus: 'series'
},
data: [0, 120, 0, 0, 0, 0, 0]
},
{
name: 'Video Ads',
type: 'line',
stack: 'Total',
areaStyle: {},
emphasis: {
focus: 'series'
},
data: [0, 0, 120, 0, 0, 0, 0]
},
]
}
- Move the mouse near the area where the polylines coincide
Current Behavior
Occasionally, all series areas are highlighted
Expected Behavior
I think that only the series to which the mouse hover area belongs should be highlighted
Environment
- OS: macOS Monterey
- Browser: Chrome 97.0.4692.71
Any additional comments?
No response
1条答案
按热度按时间n3schb8v1#
Looks like
tigger: axis
affect it