[Chartjs]-Chart.js: show tooltip color square only for certain row

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'];
    }
  }
}

Leave a comment