Is there a way to add margin to the tooltip label color boxes (displayColors)? Currently I feel the box is too close to the label text and would like to push it away some (set either in pixels, ems, or rems).
Ability to add margin to any side of the label color boxes
No found way to do this
Control margins similar to the tooltip title, etc.
This isn't currently possible
Any movement on this?
I used this in options, tooltips:
label: function(tooltipItem, data) {
const label = data.datasets[tooltipItem.datasetIndex].label || ''
const value = tooltipItem.value
return ` ${label} ${value}`
},
Most helpful comment
Any movement on this?