Hi,
I am trying to show a currency value in the tooltip for my bar chart.
I am using the below code in code-behind to set the format but the number isn't displayed as currency.
It used to work but I recently upgraded to the latest version of Telerik and it stopped working. Please let me know if there's anything that needs to be changed.
string template = "#=kendo.format(\\\'{0:c}\\\', dataItem.yValue)#";
string tooltipTemplate = "#= dataItem.xValue# (#=kendo.format(\\\'{0:C2}\\\', dataItem.yValue)#)";
barSeries.LabelsAppearance.ClientTemplate = template;
barSeries.TooltipsAppearance.ClientTemplate = tooltipTemplate;
barSeries.LabelsAppearance.Position = Telerik.Web.UI.HtmlChart.BarColumnLabelsPosition.OutsideEnd;