Chart are not have fixed number .

2 posts, 0 answers
  1. Rahul
    Rahul avatar
    1 posts
    Member since:
    Oct 2016

    Posted 07 Oct Link to this post

    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

     

     

     

     

     

     

                           

      

  2. Tsvyatko
    Admin
    Tsvyatko avatar
    833 posts

    Posted 11 Oct Link to this post

    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
Back to Top