0👍
As far as I know, you are unable to add HTML content into the tooltips. Try creating an external tooltip instead.
https://www.chartjs.org/docs/latest/samples/tooltip/html.html
- [Chartjs]-Line not drawn in Line chart with react-chartjs-2
- [Chartjs]-How to draw a linear regression line in Chart.js
-1👍
Try using escape sequence
return 'test' + \'(<a href="foo">filter</a>)' + label;
Source:stackexchange.com