# 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: 10/28/2024, 1:36:05 PM