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.

Parents
  • 1740
    Offline posted

    Hello Francesco,

    You are able to modify the tooltip value through the tooltipShowing event.

    If you have further questions, please contact us again.

    Best regards
    Aleksandar Kamenov
    Software Developer
    Infragistics Inc.

Reply Children