我試圖重新被稱爲「圖線傳說」中的以下鏈接計算其它下的示例,http://research.microsoft.com/en-us/um/cambridge/projects/ddd/d3isdk/動態數據顯示圖表
我使用WPF不silverligth,並有越來越問題以下XAML部分的參考。
<d3:Chart.LegendContent>
<d3:LegendItemsPanel>
<d3:LegendItemsPanel.Resources>
<DataTemplate x:Key="Microsoft.Research.DynamicDataDisplay.LineGraph">
<StackPanel Orientation="Horizontal">
<CheckBox IsChecked="{Binding Path=Visibility, Converter={StaticResource VisibilityToCheckedConverter}, Mode=TwoWay}"/>
<Line Width="15" Height="15" X1="0" Y1="0" X2="15" Y2="15" Stroke="{Binding Path=Stroke}" StrokeThickness="2"/>
<TextBlock Margin="5,0,0,0" Text="{Binding Path=Description}"/>
</StackPanel>
</DataTemplate>
</d3:LegendItemsPanel.Resources>
</d3:LegendItemsPanel>
</d3:Chart.LegendContent>
感謝
是否可以使用Silverlight控件在WPF桌面應用程序? – guilhermecgs 2013-04-30 17:41:06