Nevron Forum
Home
»
Nevron Vision for NET
»
Nevron Chart for .NET
»
MVVM Example
Login
Register
Login
Register
Home
»
Nevron Vision for NET
»
Nevron Chart for .NET
»
MVVM Example
MVVM Example
Post Reply
MVVM Example
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
Matt Kniller
Matt Kniller
posted 10 Years Ago
ANSWER
Topic Details
Group: Forum Members
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?
Tags
MVVM
ViewModel
WPF
Reply
Like
0
Nevron Support
Nevron Support
posted 10 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.1K
Hi,
We don't have such an example - can you elaborate on what you want to accomplish?
Best Regards,
Nevron Support Team
Reply
Like
0
Matt Kniller
Matt Kniller
posted 10 Years Ago
ANSWER
Post Details
Group: Forum Members
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 Main
ViewModel
.OnExecuteChartLoaded() for some notes.
If you need more please let me know.
Attachments
NevronChartMVVM_2015-11-12 11-11-05Z.zip
(
913 views,
2.00 MB
)
Reply
Like
0
Nevron Support
Nevron Support
posted 10 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.1K
Hi,
It turns out we don't have an example on MVVM.
Best Regards,
Nevron Support Team
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Similar Topics
Post Quoted Reply
Reading This Topic
1 active, 1 guest, 0 members, 0 anonymous
No members currently viewing this topic!
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search