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

Display first tooltip without hover #212

Open
andrewmontes87 opened this issue Feb 27, 2018 · 0 comments
Open

Display first tooltip without hover #212

andrewmontes87 opened this issue Feb 27, 2018 · 0 comments

Comments

@andrewmontes87
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant