reactchartjs/react-chartjs-2

[Bug]: Cannot remove color box from tooltip

xsrokhan opened this issue · 0 comments

Would you like to work on a fix?

  • Check this if you would like to implement a PR, we are more than happy to help you go through the process.

Current and expected behavior

As per the Chart.js docs, I tried setting displayColors: false to the tooltip field, but it has no effect. I tried some other configurations but everything except callback gets ignored. I attached a link to the editor, it's on line 116.

Reproduction

https://stackblitz.com/edit/stackblitz-starters-ntdk3g?file=src%2FApp.js

chart.js version

4.3.0

react-chartjs-2 version

5.2.0

Possible solution

No response