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
100
Tooltip - Display decimal value as a 2 digit number for igniteUI radial chart
posted

How do I get to display a two digit number from a decimal number, e.g. 4.23 in the tooltip over a radial chart?

The environment is CSHTML.

The toFixed(2) jquery function results in a script time-out.

Here's my code:

<script id="tooltipTemplate1" type="text/x-jquery-tmpl">
<span id="tooltipValue">${item.val}</span>
</script>