This project is read-only.

Display value on the Pie Chart

Jan 15, 2014 at 7:23 AM

I am using Piechat from WinRt Xaml ToolKit. In this when i hover the mouse on graph its showing respective values. Now i want to print these values on each slice PieDataPoints respectively instead of mouse hover.

I am using the below code, can you please let me how to achieve the value on the pie chat

                ItemsSource="{Binding Items}"
                IndependentValueBinding="{Binding Name}"
                DependentValueBinding="{Binding Value}"
                IsSelectionEnabled="True"  >
                    <Style TargetType="charting:PieDataPoint">
                        <Setter Property="Width" Value="40" />
                        <Setter Property="Height" Value="30" />
                        <Setter Property="Background" Value="#26a926"/>
                        <Setter Property="BorderBrush" Value="Black"/>
                        <Setter Property="Template">
                                <ControlTemplate TargetType="charting:PieDataPoint">
                                        <TextBlock Text="{Binding Value}" />