So I created a little test app to take the D3 stuff for a test drive, seems very nice! I read and downloaded the sample app from this thread:
And while it was very helpful I still have some questions. The goal here is for me to load a list of LineGraphs onto a chart plotter. I would like to have the list bound to my view model. In the example, the binding is from an extended
ChartPlotter class, and uses a button to load up the graphs- and works fine.
If however, I try to load the graphs up front they do not display. For example if I call the method for loading up the LineGraphs in the ChartViewModel constructor, even though LineGraphs has valid content and is accessed by the WPF binding the data
is not displayed.
I think the solution is quite simple, but I cant seem to get it to work.
Also, since I dont really need the dependency property aspect, is there any way to accomplish my goal using more mvvm'ish syntax? Something exactly like what Andre posted in the referenced thread? I am only on Day 1 of using your chart package,
so maybe there is an easy way to do this that I havent figured out yet?
The main point is that I dont want to do the work in the code behind (by AddLineGraph()) and I dont need the command...