Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
270
Chart , Multi-Series , Dynamic DataBinding , Path ?
posted

Hi Infragistics, as a helloworld exercise, I've got a line series , databound dynamically to a datastructure as follows:

 public class MyDataCollection : ObservableCollection
 {

xaml:   

works fine, all is well.

However, my goal -- What I am trying to do -- is databind to a member property , and not a single object, so as to support multple series:

 public class MyDataCollection
 {

public  ObservableCollection series1;

public  ObservableCollection series2;

public  ObservableCollection bubble1;
 

and in the xaml

<ig:LineSeries x:Name="line1" ItemsSource="{Binding Path=series1}" ValueMemberPath="myvalue"  ...

<ig:LineSeries x:Name="line2" ItemsSource="{Binding Path=series2}" ValueMemberPath="myvalue"  ...

<ig:BubbleSeries x:Name="bubble1"  ItemsSource="{Binding Path=bubble1}" XMemberPath="week" ....

The binding path doesn't appear to be working.  What's up with this? do you have a sample ( simple sample ) with dynamic databinding of multiple series ?

This is 15.2