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

Tooltip after 3.5.0 seems different for stacked bar charts #10129

Closed
3 tasks done
diegovdc opened this issue Feb 4, 2022 · 2 comments
Closed
3 tasks done

Tooltip after 3.5.0 seems different for stacked bar charts #10129

diegovdc opened this issue Feb 4, 2022 · 2 comments

Comments

@diegovdc
Copy link

diegovdc commented Feb 4, 2022

Documentation Is:

  • Missing or needed?
  • Confusing
  • Not sure?

Please Explain in Detail...

I am implementing a stacked bar chart. I like how in version <=3.5.0 the tooltip shows all the stacked bars data simultaneously. I am wondering what happened after 3.5.0 because the tooltip doesn't behave the same. Is there an option or something to enable that effect after that version.

https://www.chartjs.org/docs/3.5.0/samples/bar/stacked.html
https://www.chartjs.org/docs/3.5.1/samples/bar/stacked.html

Your Proposal for Changes

Explain how to achieve the same tooltip behaviour.

Example

No response

@LeeLenaleee
Copy link
Collaborator

Comming from #9469 since it was the behaviour in V2 so it was reverted, behaviour can be reverted by setting options.plugins.tooltip.mode to 'index'

@diegovdc
Copy link
Author

diegovdc commented Feb 4, 2022

That was it, thanks

@diegovdc diegovdc closed this as completed Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants