Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] (Line chart) Changing cursor type when hovering on the area under the line #18024

Open
Rgonzales4 opened this issue Dec 6, 2022 · 3 comments
Labels
bug en This issue is in English pending We are not sure about whether this is a bug/new feature.

Comments

@Rgonzales4
Copy link

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

@Rgonzales4 Rgonzales4 added the bug label Dec 6, 2022
@echarts-bot echarts-bot bot added en This issue is in English pending We are not sure about whether this is a bug/new feature. labels Dec 6, 2022
@helgasoft
Copy link

helgasoft commented Dec 11, 2022

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).

@zipporaSay
Copy link

how can i change style of areaStyle cursor - in series type line

@helgasoft
Copy link

@zipporaSay - see above "Currently clicking is allowed only on line points, so is the cursor setting."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug en This issue is in English pending We are not sure about whether this is a bug/new feature.
Projects
None yet
Development

No branches or pull requests

3 participants