MVVM LineGraph - Unable to populate graph from Constructor

Dec 6, 2010 at 1:41 PM


I read and downloaded the code from this thread

And also read this thread, though it doesn't really provide an answer:

I'm working on a WPF project using MVVM and am trying to draw a line graph through the calling of a method in the constructor, opposed to having to click a button to populate the graph, For example:


public ChartViewModel()

private void LoadData()
	// Create LineGraphViewModels and add them to ObservableCollection list


Strangely, the Line Chart remains blank : /  Very Confusing.  Would any one know how to rectify this?


Dec 7, 2010 at 5:46 AM

Hi Mark,


Sorry but this part of functionality is not a inherent part of D3, as I have not merged it with D3's trunk.

I will try to do it in the closest time ( I hope 2-3 weeks, as I have more urgent tasks now).

Can you please add request for this functionality here -




Dec 7, 2010 at 9:21 AM

Cheers Mikhail,  Done: