
WPF运行有错误但是可以运行,关于DynamicDataDisplay 20
错误提示:thename"chartplotter"doesnotexistinthenamespacehttp://research.microsoft.com/Dyn...
错误提示:the name "chartplotter"does not exist in the namespace http://research.microsoft.com/DynamicDataDisplay/1.0
<Window x:Class="WpfApplication2.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d3="http://research.microsoft.com/DynamicDataDisplay/1.0"
Title="Window1" Loaded="Window_Loaded" WindowState="Normal" Height="800" Width="1280" Background="Wheat">
<Grid>
<d3:ChartPlotter Name="plotter" Margin="10,10,20,10">
<d3:ChartPlotter.HorizontalAxis>
<d3:HorizontalDateTimeAxis Name="dateAxis"/>
</d3:ChartPlotter.HorizontalAxis>
<d3:ChartPlotter.VerticalAxis>
<d3:VerticalIntegerAxis Name="countAxis"/>
</d3:ChartPlotter.VerticalAxis>
<d3:Header FontFamily="Arial" Content="Bug Information"/>
<d3:VerticalAxisTitle FontFamily="Arial" Content="Count"/>
<d3:HorizontalAxisTitle FontFamily="Arial" Content="Date"/>
</d3:ChartPlotter>
</Grid>
</Window>
想知道是什么地方出了问题,有人知道吗,谢谢了,WPF初学者,这是在网上看的示例代码,也添加了引用,但是为什么会报错呢
不知道是不是因为我用的是visual studio 2012版本,而网上例程用的是之前的版本,总之很头疼,有人知道吗 展开
<Window x:Class="WpfApplication2.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d3="http://research.microsoft.com/DynamicDataDisplay/1.0"
Title="Window1" Loaded="Window_Loaded" WindowState="Normal" Height="800" Width="1280" Background="Wheat">
<Grid>
<d3:ChartPlotter Name="plotter" Margin="10,10,20,10">
<d3:ChartPlotter.HorizontalAxis>
<d3:HorizontalDateTimeAxis Name="dateAxis"/>
</d3:ChartPlotter.HorizontalAxis>
<d3:ChartPlotter.VerticalAxis>
<d3:VerticalIntegerAxis Name="countAxis"/>
</d3:ChartPlotter.VerticalAxis>
<d3:Header FontFamily="Arial" Content="Bug Information"/>
<d3:VerticalAxisTitle FontFamily="Arial" Content="Count"/>
<d3:HorizontalAxisTitle FontFamily="Arial" Content="Date"/>
</d3:ChartPlotter>
</Grid>
</Window>
想知道是什么地方出了问题,有人知道吗,谢谢了,WPF初学者,这是在网上看的示例代码,也添加了引用,但是为什么会报错呢
不知道是不是因为我用的是visual studio 2012版本,而网上例程用的是之前的版本,总之很头疼,有人知道吗 展开
3个回答
展开全部
DynamicDataDisplay.dll 文件被锁定了,将Dll文件“解除锁定”可以解决这个问题。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
清理一下解决方案,多重新生成几次,我之前是这样做的。
更多追问追答
追问
不行啊
追答
dll引用了吗
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
报错信息是什么。可以留联系看。
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询