Profile Picture

MVVM Example

Posted By mkniller@dynextechnologies... 9 Years Ago
Author
Message
mkniller@dynextechnologies...
Question Posted 9 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: Forum Members
Last Active: 8 Years Ago
Posts: 2, Visits: 19
I have been looking at the WPF example provided for the simple 2D chart, however all the work is done in the XAML code behind.  Would anybody be able to provide a very simple example that shows how to bind a chart to data in a view model?

Nevron Support
Posted 9 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 3,039, Visits: 3,746
Hi,
We don't have such an example - can you elaborate on what you want to accomplish?


Best Regards,
Nevron Support Team



mkniller@dynextechnologies...
Posted 9 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: Forum Members
Last Active: 8 Years Ago
Posts: 2, Visits: 19
I am sorry for the delay, but I have been having problems logging in post a response...

We have a full MVVM application where we do no coding in the code behind for XAML files.  All of our work for the view is done in the view model class.

Can you provide a simple example where you interact with the chart without using the code behind for the XAML view?

I am including a simple Visual Studio 2013 solution that has a main view with a NChartControl.  What I want to be able to do is configure the chart via it's properties in XAML as well as set up data binding in XAML to my data that lives in the View Model.  Please see MainViewModel.OnExecuteChartLoaded() for some notes.

If you need more please let me know.








Attachments
Nevron Support
Posted 9 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 3,039, Visits: 3,746
Hi,

It turns out we don't have an example on MVVM.


Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic