namespace problem when dragging chartPlotter from the toolbox

Apr 9, 2009 at 3:20 PM
Here is an extract of a previous discussion:

1. How to add the chart as a control to the toolbox.
  1. Open any XAML designer window and its toolbox panel.
  2. In the context menu of the toolbox click command Choose items...
  3. In the appeared Choose Toolbox Items window go to WPF Components tab.
  4. Use Browse... button to find the DynamicDataDisplay.dll assembly.
  5. All available components from the specified assembly are added to the list and selected by default. If the first thing you do is click on a check box of any of selected items in the list, you will deselect them all. That is the thing you should do, because you really need only one control in the toolbox: it is the ChartPlotter. So, now find it and check.
  6. Click OK and the control is in the toolbox.

If I follow these steps, here is the namespace that appears on the xaml editor when I drag a chartPlotter from the toolbox: "<tt>xmlns:my="clr-namespace:Microsoft.Research.DynamicDataDisplay;assembly=DynamicDataDisplay"</tt>

However to have date-time support, the namespace should be "<tt>xmlns:my="http://research.microsoft.com/DynamicDataDisplay/1.0"</tt>".

This is not a huge problem but I just wanted to let you know.

Kamel
Editor
Apr 10, 2009 at 9:19 AM
Hi Kamel,

Thank you, your remark is true, it is indeed necessary to use xmlns:d3="http://research.microsoft.com/DynamicDataDisplay/1.0" namespace to use all DynamicDataDisplay controls.
We've done this so by analogy with WPF's libraries.

Mikhail
Jul 27, 2010 at 5:31 PM

just been having similar problems, solution was to follow steps on http://msdn.microsoft.com/en-us/library/bb514540.aspx and also to ensure that the dll's were not just within the project directory but also showing up on the solution explorer

look forward to digging into all this :)