如何在Windows Phone 7.1中的饼图中显示带标签的百分比

时间:2012-10-27 12:15:59

标签: windows-phone-7

<charting:PieSeries 
          IndependentValueBinding="{Binding Name}" DependentValueBinding="{Binding Count}">
    <charting:PieSeries.LegendItemStyle>
        <Style TargetType="charting:LegendItem">
            <Setter Property="Margin" Value="4 0 5 4"/>
            <Setter Property="Background" Value="Maroon"></Setter>
            <Setter Property="Foreground" Value="Silver"></Setter>
        </Style>
    </charting:PieSeries.LegendItemStyle>
</charting:PieSeries>

我想在饼图中显示百分比名称。在上面,它只生成一个没有标签百分比的饼图

0 个答案:

没有答案