You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I should be able to customize the tooltip font defaults. I was able to do this just fine for the legend.
If the defaults don't work because it's an intended behavior (as apparently explained here: #9781), then I should be able to use the overrides instead.
What other means of customizing the tooltip font properties are there?
Current behavior
The global default font properties work.
The legend font defaults work.
The tooltip font defaults don't work.
The tooltip font overrides don't work.
I tried different chart types (pie, bar), still doesn't work.
Possible solution
No response
Context
I want to have a default font size for everything (Chart.defaults.font.size = 14) EXCEPT for the tooltp (Chart.defaults.plugins.tooltip.titleFont.size = 16), but I can't achieve this.
chart.js version
4.4.4
Browser name and version
Chrome 129.0.6668.59
Link to your project
No response
The text was updated successfully, but these errors were encountered:
Expected behavior
I should be able to customize the tooltip font defaults. I was able to do this just fine for the legend.
If the defaults don't work because it's an intended behavior (as apparently explained here: #9781), then I should be able to use the overrides instead.
What other means of customizing the tooltip font properties are there?
Current behavior
The global default font properties work.
The legend font defaults work.
The tooltip font defaults don't work.
The tooltip font overrides don't work.
Reproducible sample
https://codepen.io/teodorachiosa/pen/ExqxMam?editors=1010
Optional extra steps/info to reproduce
I tried different chart types (pie, bar), still doesn't work.
Possible solution
No response
Context
I want to have a default font size for everything (
Chart.defaults.font.size = 14
) EXCEPT for the tooltp (Chart.defaults.plugins.tooltip.titleFont.size = 16
), but I can't achieve this.chart.js version
4.4.4
Browser name and version
Chrome 129.0.6668.59
Link to your project
No response
The text was updated successfully, but these errors were encountered: