# Custom Tooltip Content

This sample shows how to use the tooltip callbacks to add additional content to the tooltip.

const config = {
  type: 'line',
  data: data,
  options: {
    interaction: {
      intersect: false,
      mode: 'index',
    },
    plugins: {
      tooltip: {
        callbacks: {
          footer: footer,
        }
      }
    }
  }
};

# Docs

Last Updated: 2/28/2024, 4:43:58 PM