Skip to content

[Feature] Tooltip shared option #20833

@simskberna

Description

@simskberna

What problem does this feature solve?

When working with multiple series on spesifically line charts currently you can not disable shared tooltip. It always shows all series' tooltips. But sometimes you may want to use seperate tooltips. Making trigger option to 'item' does not work because it makes harder to hover a point. With this feature you should be able to use trigger:'axis' and show the closest value's tooltip on hover. Many chart libraries have this feature currently.

What does the proposed API look like?

I should be able to hover somewhere in chart area (not just the points in datasets) it should find the closest value of the point i hover in dataset and show its tooltip. i should be able to control this with a parameter. if its true show both tooltips and its not the one i described above.

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enThis issue is in Englishnew-featurependingWe are not sure about whether this is a bug/new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions