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

[Feature] Data Item information in the onclick params for radar chart #16160

Closed
dirslashls opened this issue Dec 2, 2021 · 1 comment
Closed
Labels
en This issue is in English new-feature pending We are not sure about whether this is a bug/new feature.

Comments

@dirslashls
Copy link

What problem does this feature solve?

The onclick even handler params do not contain the information about the data point that is clicked. It gives the entire series data. This is probably because of the format in which the radar chart expects the data, name and value which is an array. What is needed is the specific index in this array that is clicked. With the array index it will be possible for me to map it back to the specific record and support say a drill-down based on that record's data.

What does the proposed API look like?

May be params.dataItemIndex ?

@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. waiting-for: community labels Dec 2, 2021
@Ovilia
Copy link
Contributor

Ovilia commented Dec 3, 2021

Duplicate of #10537.

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

No branches or pull requests

2 participants