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] Add tooltip support for angle axis #20632

Open
plainheart opened this issue Dec 31, 2024 · 0 comments
Open

[Feature] Add tooltip support for angle axis #20632

plainheart opened this issue Dec 31, 2024 · 0 comments
Labels
en This issue is in English new-feature
Milestone

Comments

@plainheart
Copy link
Member

What problem does this feature solve?

As a supplement of #16315, the angle axis also needs to support tooltip.

// src/component/axis/AngleAxisView#angelAxisElementsBuilders.axisLabel#287
graphic.setTooltipConfig({
    el: textEl,
    componentModel: angleAxisModel,
    itemName: labelItem.formattedLabel,
    formatterParamsExtra: {
        isTruncated: () => textEl.isTruncated,
        value: labelItem.rawLabel,
        tickIndex: idx
    }
});

What does the proposed API look like?

angleAxis.tooltip

@plainheart plainheart added this to the 6.0.0 milestone Dec 31, 2024
@echarts-bot echarts-bot bot added the en This issue is in English label Dec 31, 2024
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
Projects
None yet
Development

No branches or pull requests

1 participant