For more information, see https://www.chartjs.org/docs/latest/configuration/tooltip.html
Please note that this module does not have updater functions and you will need to use record update syntax if using this functionality
Create a blank tooltips object
Positioning mode for tooltips
Average will place the tooltip at the average position of the displayed items Nearest will place the tooltip at the element closest to the event position
Controls what elements are displayed in the tooltip Point: finds all items that intersect the point Nearest: gets the items that are at the nearest distance to the point Index: finds item at the same index X: find all items that interesct (based on X axis only) Y: find all items that intersect (based on Y axis only)
Tooltips are displayed when interacting with charts