Chart.js tooltip hover customization for mixed chart
问题 I was having some problem when trying to customize the hover tooltip for mixed chart using chart.js. I have a bar chart which show the total profit for certain product and a line chart to show the total quantity of that certain product. When I hover over the bar chart, I wanted the tooltip to show something like: Total profit: $ 1399.30 The price should be in two decimal format appended to the back of 'Total profit: $'. When I hover over the line chart, I wanted to show something like: