Currency Format

2 posts, 0 answers
  1. Andrew
    Andrew avatar
    12 posts
    Member since:
    Oct 2011

    Posted 18 Dec 2012 Link to this post

    With the follow xaml the tool tip is displayed with US $ even thou I have set the correct Culture (£) 

    Public Sub New()
      Me.Language = XmlLanguage.GetLanguage(Thread.CurrentThread.CurrentCulture.Name)
    End Sub

    telerik:RadPieChart  x:Name="PieChartDeadStock" Palette="Windows8" Grid.Column="0" Grid.Row="0" >
                        <telerik:ChartTooltipBehavior HorizontalOffset="-6" VerticalOffset="-49" />
                                <Border BorderThickness="1" BorderBrush="Black" ></Border>
                                <StackPanel  Orientation="Vertical" Background="White" Margin="2,2,2,2" >
                                    <TextBlock FontWeight="Bold" Text="{Binding Path=DataItem.Description}"/>
                                    <TextBlock Text="{Binding Value, StringFormat='C'}" />
                    <telerik:PieSeries  ShowLabels="True" RadiusFactor="0.7" ValueBinding="StockValue" ItemsSource="{Binding}">
                            <telerik:AngleRange  SweepAngle="360" />
  2. Peshito
    Peshito avatar
    524 posts

    Posted 21 Dec 2012 Link to this post

    Hi Andy,

    It is a Silverlight issue which reflects the ToolTip behavior as well. As a workaround, try using ValueConverter.

    Hope this helps.

    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top