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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How do i dynamically add Technical Indicators using MVVM

Thread ID:

Created:

Updated:

Platform:

Replies:

121531 Dec 26,2015 08:15 AM UTC Dec 28,2015 07:33 AM UTC WPF 1
loading
Tags: SfChart
Ajay Britto
Asked On December 26, 2015 08:15 AM UTC

Hi,
I want to be able to provide the users to choose the technical indicators they want to overlay at run time. The example in the demo app is using code behind, but how to achieve this using MVVM. I tried to do something like  <chart:SfChart TechnicalIndicators="{Binding TechnicalIndicators}"> so that u can access the indicators collection from my ViewModel and manage it from there, but i kept getting object is null error. How do i achieve this? Also is it possible to add multiple indicators?

Santhiya Arulsamy [Syncfusion]
Replied On December 28, 2015 07:33 AM UTC

Hi Ajay,

Thanks for contacting Syncfusion support.

We were able to bind the TechnicalIndicators collection from the ViewModel class. We were unable to reproduce the reported problem. We have prepared a sample based on your requirement. Please find the sample from the following location.

Sample:TechnicalIndicators_121531

Please let us know if you still face the problem.

Thanks.

Santhiya A.

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.

Warning Icon 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.Close Icon

;