-
Notifications
You must be signed in to change notification settings - Fork 19.7k
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
feat(treemap): support customizing cursor for items #20104
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thanks for your contribution! |
plainheart
requested changes
Jul 2, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, thanks for your contribution! Please remove the dist files.
plainheart
requested changes
Jul 2, 2024
plainheart
requested changes
Jul 2, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Brief Information
This pull request is in the type of:
What does this PR do?
Adding custom cursor properties for Treemap
Fixed issues
Details
Before: What was the problem?
In treemap, there is no way to customize the cursor style through cursor, and it can only default to "pointer"
![image](https://private-user-images.githubusercontent.com/55272646/344661073-03f91ba6-6cb4-4e53-8072-e85b033a5141.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1Nzc1MzMsIm5iZiI6MTczOTU3NzIzMywicGF0aCI6Ii81NTI3MjY0Ni8zNDQ2NjEwNzMtMDNmOTFiYTYtNmNiNC00ZTUzLTgwNzItZTg1YjAzM2E1MTQxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDIzNTM1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg5ZWY5ZGMyZTliZGE2N2E5M2U5ODczYTUxMjA5OWNiNTdmZjRlMThiNGQwOTE1NmRlNTYwNWRhMzFlZTc5ZDcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.ZYDJCNDHp77fBUyHWSwQ7PmnCCHWz-yidwxQbRaA5vM)
After: How does it behave after the fixing?
Users can set the cursor style in option like other series graph
![image](https://private-user-images.githubusercontent.com/55272646/344661662-e7ee9f81-f833-4e2a-a524-d03e18fa317d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1Nzc1MzMsIm5iZiI6MTczOTU3NzIzMywicGF0aCI6Ii81NTI3MjY0Ni8zNDQ2NjE2NjItZTdlZTlmODEtZjgzMy00ZTJhLWE1MjQtZDAzZTE4ZmEzMTdkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDIzNTM1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWYyZjkyNmY0YjhhZjA1MzczYmI5YTY5NGU2N2Y3NjdiNzc2ZDk2Mzk1NDc1OTExYzU3NzU3NmE3ZWIxNWQyMWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.OG6vBNFrwUl1xRZQuw86N1cewwmRgdoLvG012hWe8v4)
Document Info
One of the following should be checked.
Misc
ZRender Changes
Related test cases or examples to use the new APIs
N.A.
Others
Merging options
Other information