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.
Hello Francesco,
You are able to modify the tooltip value through the tooltipShowing event.
If you have further questions, please contact us again.
Best regardsAleksandar KamenovSoftware DeveloperInfragistics Inc.
I have a datachart with different series.
tooltipShowing: function (evt, ui) { ui.item[asseY].toLocaleString();
ui.item[asseY2].toLocaleString(); },
I tried to format my series but it doesn't work.