Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
105
igDataChart tooltip format
posted

Hi,

How Can I format tooltip value? 

I'm using this template for series1 of my datachart:

var tooltipTemplate = "<div class=''><div style='font-weight:bold;'>${item." + asseX + "}</div><div>Valore: <label class='bold'>${item." + asseY + "}</label></div></div>";

I formatted label using javascript .toLocaleString(); to have dot and comma in my value.