I have been using the version of D3 available in http://d3future.codeplex.com/
It has been working well with stock charts but gives an error at AddLineGraph. The code below comes from other web posts.
It appears that some versions of DynamicDataDisplay.dll available(v2/v3/v4) work/compile with that statement.
Any help would be greatly appreciated.
public partial class MainWindow : Window
{
public ObservableDataSource<Point> source1 = null;
public MainWindow()
{
InitializeComponent();
//this.Loaded += MainWindow_Loaded;
}
private void Window_Loaded(object sender, RoutedEventArgs e)
{
source1 = new ObservableDataSource<Point>();
//Set identity mapping of point
source1.SetXYMapping(p => p);
plotter3.AddLineGraph(source1, 4, "Data Row");
//Fits the chart within ViewPort
plotter3.Viewport.FitToView();
// Start computation in 2nd thread
Thread simThread = new Thread(new ThreadStart(Computation));
simThread.IsBackground = true;
simThread.Start();
}
}