echarts
echarts copied to clipboard
[Feature] Make the area of a line chart not interactable by configuration
What problem does this feature solve?
This would allow hovering line charts without triggering emphasis events
What does the proposed API look like?
areaStyle: {
silent: true
}
emphasis.disabled ? 📌 please close issue if problem solved.
No I would like the line to have an emphasis but the area would not have it
workaround with a second line - Demo Code
Indeed it's a hack but it doubles the number of elements to display in a chart, it can work as a workaround but it would be easier to just be able to disable the pointer events on the line