How to change the structure or style of the tooltip for a chart. #2300
Unanswered
GooseDeer
asked this question in
Ask For Help
Replies: 1 comment
|
I apologize that this doesn't directly answer your question, but it CSS Grid might be useful in order to enforce two columns per entry in the tooltip? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I am trying to change the way that my tooltip looks for the chart, as currently the labels and values are left aligned and if you have multiple values this is not user friendly to view. For example, currently my tooltip is:
I am wanting to set his so label and values are in two columns and are therefore aligned. I tried with for chart.js and it looks like:
Depending on how many values to have in the bar chart, this can make is much easier to read. However when I add anything to
options > plugins > tooltip, I am getting browse console errors. Below is an example of adding anything to the tooltip options throws the error:Is there a way to use and changing the way that the tooltip is styled and structure. From the docs, it looks like you can only disable the tooltip.
All reactions