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

fix: series cursor setting not working on label #15703

Open
wants to merge 3 commits into
base: next
Choose a base branch
from

Conversation

kongmoumou
Copy link
Contributor

Brief Information

This pull request is in the type of:

  • bug fixing
  • new feature
  • others

What does this PR do?

Fixed issues

#15631

Details

Before: What was the problem?

see #15631

After: How is it fixed in this PR?

sync cursor option to label

Misc

  • The API has been changed (apache/echarts-doc#xxx).
  • This PR depends on ZRender changes (ecomfe/zrender#xxx).

Related test cases or examples to use the new APIs

NA.

Others

Merging options

  • Please squash the commits into a single one when merge.

Other information

@echarts-bot
Copy link

echarts-bot bot commented Sep 9, 2021

Thanks for your contribution!
The community will review it ASAP. In the meanwhile, please checkout the coding standard and Wiki about How to make a pull request.

@@ -996,6 +996,8 @@ function updateStyle(
);
}

cursorStyle && label.attr('cursor', cursorStyle);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many other series may have similar problems. Please consider setting cursor information to labels in LabelManager. You may refer to updateBlend for reference.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now setting cursor in processLabelsOverall of LabelManager 😂

@kongmoumou kongmoumou changed the title fix(bar): bar cursor setting not working on label fix: series cursor setting not working on label Sep 10, 2021
@kongmoumou kongmoumou requested a review from Ovilia September 10, 2021 09:46
@pissang pissang changed the base branch from master to next September 13, 2021 02:06
@pissang pissang added this to the 5.3 milestone Sep 13, 2021
@Ovilia Ovilia modified the milestones: 5.3, TBD Sep 1, 2022
@gehringf
Copy link

I have found the cursor setting also not working on line series and custom series when I wanted to only have pointer in series that are actually clickable. I have not been able to set all others to 'default'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants