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

feat(radar): Radar series tooltip support dimensionIndex #20677

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

AielloChan
Copy link

Brief Information

This pull request is in the type of:

  • bug fixing
  • new feature
  • others

What does this PR do?

Just add dimensionIndex into radar chart series tooltip's callback param.

Fixed issues

#10537

Details

Before: What was the problem?

I just wanna get which axis my cursor is point on. In this example, I wanna get "小明"

image

After: How does it behave after the fixing?

In radar chart, when cursor point at series symbol area, tooltip callback's params will contain dimensionIndex , which indicate which axis you just pointed.

Document Info

One of the following should be checked.

  • This PR doesn't relate to document changes
  • The document should be updated later
  • The document changes have been made in apache/echarts-doc#xxx

Misc

ZRender Changes

  • This PR depends on ZRender changes (ecomfe/zrender#xxx).

Related test cases or examples to use the new APIs

N.A.

Others

Merging options

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

Other information

Copy link

echarts-bot bot commented Jan 10, 2025

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.

src/core/echarts.ts Outdated Show resolved Hide resolved
@Ovilia
Copy link
Contributor

Ovilia commented Jan 13, 2025

Please don't use forced pushes because it makes it hard to trace the data changes.

@AielloChan
Copy link
Author

Please don't use forced pushes because it makes it hard to trace the data changes.

Oh, I just force write my init uncompleted commit, will not force push further.

@AielloChan
Copy link
Author

@Ovilia Hello, please review my code, thx

@AielloChan AielloChan requested a review from Ovilia January 20, 2025 01:43
Copy link
Contributor

The changes brought by this PR can be previewed at: https://echarts.apache.org/examples/editor?version=PR-20677@460fe5e

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.

2 participants