We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

MVVM Chart with the ability to dynamically add data series

Thread ID:

Created:

Updated:

Platform:

Replies:

105285 Sep 25,2012 06:46 PM Oct 8,2012 12:52 AM WPF 1
loading
Tags: Chart
Aaron
Asked On September 25, 2012 06:46 PM

Could someone provide an example of the proper setup, binding, etc.  of a program utilizing the wpf charts in an MVVM design that will allow for dynamic data series addition.  I have the samples for multiple charts that is in MVVM but relies on a finite amount of data series' being declared in the xaml.  I also have a solution that can dynamically add data series from another post but it relies on the code behind the window with the graph element in it and being able to reference the chart element directly.  I am trying to make a program that will graph an unlimited amount of data series on a single graph without know how many data series need to be graphed beforehand but it has to be in the Model, View, ViewModel design pattern.

Michael Prabhu M [Syncfusion]
Replied On October 8, 2012 12:52 AM

Hi Aaron,

Sorry for the delay in getting back at this.

We have analyzed your requirement and we like to inform you that without knowing how many series we want to add in a chart, it is not possible to achieve your requirement in MVVM design. But this can be achieved in code behind which you are already aware of. Sorry for any inconvenience caused.

Please let us know if you have any concerns.

Thanks,

Michael Prabhu.


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;