Horizontal bar memory leak

2 posts, 0 answers
  1. Greg Mulert
    Greg Mulert avatar
    1 posts
    Member since:
    May 2010

    Posted 15 Dec 2010 Link to this post

    Hi, we're using the Q3 2010 RadChart in horizontal bar mode to display a dashboard gadget. The ItemsSource is bound in XAML to an ObservableCollection that gets updated every 30 seconds. With every rebind there's a memory leak that eventually crashes the browser. It's only the horizontal bar (or horizontal stacked bar) -- switching it to a pie or a vertical bar fixes the problem. We're not doing anything fancy; here's the XAML (the DataContext is an object whose TheData property gets updated on the 30 second interval).

    <telerik:RadChart BorderThickness="0" ItemsSource="{Binding TheData}">
    <chart:ChartLegend Visibility="Collapsed" />
                    <chart:ChartArea EnableAnimations="False" SmartLabelsEnabled="False"/>
        <telerik:RadChart.SeriesMappings >
                    <telerik:HorizontalBarSeriesDefinition />
                    <telerik:ItemMapping DataPointMember="XCategory" FieldName="Status"/>
                    <telerik:ItemMapping DataPointMember="YValue" FieldName="Count"/>
  2. Nikolay
    Nikolay avatar
    397 posts

    Posted 20 Dec 2010 Link to this post

    Hello Greg Mulert,

    We have addressed this issue in the support ticket you've sent us.

    We have been able to reproduce the unexpected behavior and our developers will work on a fix, which will be available with one of our upcoming LIBs, released each Monday.

    Best wishes,
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
Back to Top