#112883
Markov
Keymaster

Hi,

The tooltipFormatFunction allows you to customize the Chart tooltip.

Example:

chart.toolTipFormatFunction = function (value, itemIndex, serie, group) {
  const month = chart.dataSource[itemIndex].Month;
  const sales = chart.dataSource[itemIndex].Sales;
  return 

<div style=”color: #fff; background: #6610F2; padding: 5px; border-radius: 5px;”>
${month}: $${sales}
</div>`;
};`

Best regards,
Markov

Smart UI Team
https://www.htmlelements.com/