# 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: 12/1/2024, 4:35:13 PM