Changes in way to get overlayed plots?

Apr 30, 2010 at 6:17 PM

While prototyping a WPF project, I have been using the April 09 version of DynamicDataDisplay. (dll version 0.3.3633.0)

I'm trying to come up to the "current" build (change set 31108).  Apparently the way to get overlayed plots has changed (InjectedPlotter no longer exists).

This is what I used to do to get two overlayed plots, shared x axis, separate y axes (one right side, one left).

    <d3:ChartPlotter Name="SpeedPlotter"
      <d3:Header TextBlock.FontSize="20"
                 Content="RunGraph" />
      <d3:InjectedPlotter Name="TemperaturePlotter"
        <d3:VerticalAxis x:Name="TemperatureAxis"
                         Placement="Right" />
        <d3:VerticalAxisTitle x:Name="TemperatureAxisTitle"
                              Placement="Right" />

      <d3:AxisNavigation Placement="Bottom" />
      <d3:AxisNavigation Placement="Right" />

      <d3:VerticalAxisTitle x:Name="SpeedAxisTitle"
                            Content="Speed" />

      <d3:HorizontalAxisTitle x:Name="TimeAxisTitle"
                              Content="Time" />


How should this be accomplished in the current build?


Matt Heffron

Apr 30, 2010 at 6:36 PM
Edited Apr 30, 2010 at 6:39 PM
DevSamples->TwoIndependentAxes works and looks like it is the same pattern
Apr 30, 2010 at 8:02 PM
Edited Apr 30, 2010 at 8:54 PM

However, now it builds but when the application is trying to open the view containing the XAML code above, I get an exception in the Legend constructor:

"The component 'Microsoft.Research.DynamicDataDisplay.Legend' does not have a resource identified by the URI '/DynamicDataDisplay;component/charts/legend.xaml'."

I built the DynamicDataDisplay as "Release" (not "ReleaseXBAP") and just replaced the old version of the DynamicDataDisplay.dll with the new one.

What am I missing?



DavidJJon, you're right. I was using the wrong part of the full download zip (the Stable part!)