Version
5.3.3
Link to Minimal Reproduction
No response
Steps to Reproduce
Create a regular line graph with the area underneath coloured / areaStyle defined.
Current Behavior
The area under the line graph is coloured with no click event. When I hover over the area, the cursor changes to a pointer even though there's no related click event. I currently cannot find a property that will change the cursor type.
Expected Behavior
We should be able to define what the cursor changes to when hovering over the area under the line.
Environment
- OS:
- Browser:
- Framework:
Any additional comments?
No response
3条答案
按热度按时间zbdgwd5y1#
Agree - the pointer('hand') cursor is misleading since nothing happens on click.
Demo Code (switch dropdown to "5.4.0" then back to any version, initial page prevents click)
Currently clicking is allowed only on line points, so is the cursor setting.
[Feature Request] - make the actual chart line clickable, please.
Since the area underneath is part of the line, make it clickable too.
#2941 = possible workaround to detect linemouseover and click events, see my Demo Code (Dec 2022).
ttcibm8c2#
how can i change style of areaStyle cursor - in series type line
b4qexyjb3#
@zipporaSay - see above "Currently clicking is allowed only on line points, so is the cursor setting."