1
<d3:Chart BottomTitle="Argument" LeftTitle="Function">
     <d3:LineGraph x:Name="linegraph" Description="Simple linegraph" Stroke="Blue" StrokeThickness="3"/>
</d3:Chart> 

This code is on the Home Page of the Dynamic Data Display. I downloaded .dll file and added the reference. Then I add those lines of code shown on the home page to my MainWindow.xaml

I get these errors;

  • 'd3' is an undeclared prefix.
  • Chart is not supported in a Windows Presentation Foundation (WPF) project.
  • The namespace prefix "d3" is not defined.

I have no other code to show. This is the whole code because I was at the beginning.

Should I do something with this DynamicDataDisplay.XML file too? I didn't use it so far.

Zgrkpnr
  • 1,191
  • 4
  • 15
  • 32

2 Answers2

3

Try add this namespace to your Window/UserControl:

xmlns:d3="http://research.microsoft.com/DynamicDataDisplay/1.0"
Anatoliy Nikolaev
  • 22,370
  • 15
  • 69
  • 68
0

in Wpf you have to use "ChartPlotter" instead of "Chart". Chart is only supported in Silverlight.

Bounce
  • 11
  • 5