This is a migrated thread and some comments may be shown as answers.

Chart are not have fixed number .

1 Answer 38 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Rahul
Top achievements
Rank 1
Rahul asked on 07 Oct 2016, 10:17 AM

Dear Sir, 

 

   I have lot of charts and number of chart are getting at runtime . Therefore I am not able to bind them from DataContext .I am not binding them with below code from Codebehind. 

 

 

       LineSeries radLine = new LineSeries();
                            radLine.CategoryBinding = new PropertyNameDataPointBinding { PropertyName = constant.propertyName };  
                            radLine.ValueBinding = new PropertyNameDataPointBinding { PropertyName = constant.propertyValue };

 radLine.ItemsSource = d

 this.RadCartesianChart.Series.Add(radLine);

 

   In above case I am not able to use INotifyPropertyChanged  benefit  Mean when I am changing values in data . It not get update on UI.Please help me to bind such data

 

 

Thanks,

Rahul

 

 

 

 

 

 

                       

  

1 Answer, 1 is accepted

Sort by
0
Tsvyatko
Telerik team
answered on 11 Oct 2016, 08:03 AM
Hi Rahul,

Based on the snippet sent I assume that you are trying to dynamically update items properties of data objects that does not implement INotifyPropertyChanged. Could you confirm that this is the case and what is your current data setup, so we can suggest a solution that fits in this case.

Regards,
Tsvyatko
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Chart
Asked by
Rahul
Top achievements
Rank 1
Answers by
Tsvyatko
Telerik team
Share this question
or