RadCartesianChart not updating

2 posts, 0 answers
  1. Jonathan
    Jonathan avatar
    1 posts
    Member since:
    Dec 2012

    Posted 08 Dec 2012 Link to this post

    I am evaluating the Telerik controls to see if they will work better for my team than the current Infragistics controls we are using.  So I start writing a sample application that will demonstrate a resource monitor we planned on writing.  My problem is that the chart works for a couple seconds, then stops working, but if I resize the application, it starts working again for a few seconds, then stops.  Here is my Xaml:

    <chart:RadCartesianChart Grid.Column="0" Grid.Row="0">
            <telerik:CategoricalAxis FontFamily="Segoe UI" FontSize="12"/>
            <chartView:LinearAxis Minimum="0" Maximum="100"/>
        <chartView:BarSeries ItemsSource="{Binding LogicalProcessors}" CategoryBinding="DisplayName" ValueBinding="Value">
                    <Rectangle Fill="Green"/>

    I am binding to an ObservableCollection that contains objects that implement INotifyPropertyChanged.  For my sanity I did this:

    <ItemsControl Grid.Column="0" Grid.Row="1" ItemsSource="{Binding LogicalProcessors}">
                <TextBlock Text="{Binding Value}"/>

    I can see the values updating, so I know my events are firing, the Chart just isn't updating.  If needed I can attach the entire project.  Any ideas?
  2. Nikolay
    Nikolay avatar
    384 posts

    Posted 12 Dec 2012 Link to this post

    Hi Jonathan,

    Please, find attached a sample test application, which we have prepared to simulate a scenario similar to the described one. It works as expected on our side, so perhaps we are missing some of the details?

    Could you, please, have a look at the app and in case the issue persists it would be very helpful for us if you're able to update it so that it is reproducible and send it back to us in a support ticket to inspect, or send us your original application, in which you have encountered the issue, so that we can debug it locally.

    All the best,
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
Back to Top