-
Hello everybody, quick question: Is there an option for hiding the body of a tooltip? I didn't find it in the documentation https://www.chartjs.org/docs/latest/configuration/tooltip.html and I'm not quite shure if it is possible with tooltip callbacks. Thank you in advance :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
By now I don't think there is a direct way to configure this. But a similar result can be achieved by modifying the label accordingly.
|
Beta Was this translation helpful? Give feedback.
By now I don't think there is a direct way to configure this. But a similar result can be achieved by modifying the label accordingly.
tooltip: { displayColors: false, callbacks: { title: function () { }, label: function(context) { return
${context.label}; }, }, },