Group: Forum Members
Last Active: 9 Years Ago
Posts: 2,
Visits: 20
|
The example listed in the user guide under getting started -> integrating with wpf section of the documentation demonstrates how to add a nevron chart to a visual studio project, however this example only covers how to implement the chart using the name property of the chart control and then referencing this name when setting up the chart and populating it with data in maindwindow.cs. I am trying to incorporate this with a view model and I am baffled I cannot get this to work. With other charting products I was able to create an instance of the chart control in my view model set all my parameters, populate with data, and then bind this instance of the chart control to the view through simple xaml binding. I assume most people are also working with view models, so what is recommended method for binding the chart control to the data I am generating in my model and exposing through my view model to the actual view? It seems like something very simple I am overlooking.
|