[Bug] (Line chart) Changing cursor type when hovering on the area under the line
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
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 line mouseover and click events, see my Demo Code (Dec 2022).
how can i change style of areaStyle cursor - in series type line
@zipporaSay - see above "Currently clicking is allowed only on line points, so is the cursor setting."
This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!