Chartjs-How do I change the appearance of tooltips with mode: index in Chart.js

0๐Ÿ‘

โœ…

If anyone comes across this in the future, I eventually managed to get the behavior I need using the following steps:

  1. Copy over the implementation of tooltips display from the ChartJS source.
  2. Modify the HTML injected in this code to recreate the behavior you require.
  3. Overwrite the ChartJS source for this function with your modified function.

Leave a comment