2👍
Text with colored square should be in label
Text without colored square should be in footer
:
tooltips: {
callbacks: {
footer: function(tooltipItems, data) {
return ['Description 1', 'Description 2'];
}
}
}
- [Chartjs]-Chartjs Customize Scale Numbers
- [Chartjs]-How to change background in chartjs and remove background lines?
Source:stackexchange.com