Skip to content
This repository was archived by the owner on Jul 19, 2019. It is now read-only.
This repository was archived by the owner on Jul 19, 2019. It is now read-only.

Display first tooltip without hover #212

@andrewmontes87

Description

@andrewmontes87

I have a Doughnut chart where each segment has a tooltip. The tooltips work as expected when the user hovers - but, I'd like to have the tooltip for the first doughnut segment display automatically, when the chart loads, regardless of whether the user is hovering or not. Ideally if the user then hovers over the doughnut segments, this initial tooltip would disappear and the appropriate tooltip for the selected segment would appear, and when the user stops hovering, the chart would again default to displaying the tooltip for the first segment. Basically by always showing at least one tooltip, it would indicate to the user that hovering will trigger additional behavior. Is this possible with react-chartjs and Chart.js 1.1.1? Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions