Custom JS for Chart Widgets to build custom tooltip

I would like to find out any best practices for adding custom JS to the chart widgets

In my case I have some data from the model which I would like to show in the tooltip, I am wondering how to integrate the Alpine JS or livewire directives to build the custom toolitp

Thank you in advance
Was this page helpful?