Won't Fix
Last Updated: 20 Jan 2016 11:52 by ADMIN
ADMIN
Marin Bratanov
Created on: 19 Aug 2014 08:15
Category: HtmlChart
Type: Bug Report
0
IMPROVE Negative currency values are shown in brackets instead of with a negative sign
A workaround is to use the ClientTemplate and change the strings manually with some JavaScript (http://www.telerik.com/help/aspnet-ajax/htmlchart-client-templates-for-tooltips-and-labels-execute-javascript-and-display-html.html), e.g.:
<telerik:RadHtmlChart runat="server" ID="RadHtmlChart1" Width="400px" Height="400px">
	<PlotArea>
		<Series>
			<telerik:BarSeries>
			<LabelsAppearance>
			<ClientTemplate>
				#if (value > 0) {# $#=value# #} else {# -$#=value * -1# #} #
			</ClientTemplate>
			</LabelsAppearance>
				<SeriesItems>
					<telerik:CategorySeriesItem Y="20" />
					<telerik:CategorySeriesItem Y="10" />
					<telerik:CategorySeriesItem Y="-30" />
				</SeriesItems>
			</telerik:BarSeries>
		</Series>
	</PlotArea>
</telerik:RadHtmlChart>
1 comment
ADMIN
Danail Vasilev
Posted on: 20 Jan 2016 11:52
Rejected with the following reason - This is the default currency format string for the default culture (en-US). You can find more information on the matter in this forum post - http://www.telerik.com/forums/negative-currency-values-are-shown-in-bracket#Hrho7dPdxkuJiusCDIZIXA