2012-03-20 2 views
1

WPF에서 LabeledPieCharts를 만들고 싶습니다. (출처 : Bea's Blog) DemoProject를 다운로드하고 실행했습니다. 여기레이블이있는 PieChart

The Tag "LabeledPieChart.Series" isn't in XML-Namespace "clr-namespace:Controls;assembly=Controls". Line 65 Position 14. 

을 내 코드입니다 : 나는 LabeledPieChart를 만들 경우이 오류와 함께 실패 내가 프로젝트를 다운로드 한 및 코드 확인을 작동하는 것 같다

<customControls:LabeledPieChart x:Name="labeledPieChart" 
           Title="Population of Puget Sound Cities" 
           Grid.Row="3" 
           Width="700" 
           Height="500" 
           BorderBrush="Gray"> 
    <customControls:LabeledPieChart.Series> 
     <customControls:LabeledPieSeries x:Name="labeledPieSeries" 
             DependentValuePath="Population" 
             IndependentValuePath="Name" 
             IsSelectionEnabled="True" 
             ItemsSource="{Binding}" 
             LabelDisplayMode="Auto" 
             PieChartLabelItemTemplate="{StaticResource pieChartLabelDataTemplate}" 
             PieChartLabelStyle="{StaticResource pieChartLabelStyle}" /> 
    </customControls:LabeledPieChart.Series> 
</customControls:LabeledPieChart> 

답변

0

. 어쩌면 this question가 도움이 될 것입니다.

+1

답변 해 주셔서 감사합니다. 오류를 발견했습니다. 프로젝트에서 2 "control.dll"- 파일과 그들은 달랐다. 그들 중 하나는 부동산 "시리즈"를 가지고 있지 않다. –