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}">
    <telerik:RadChart.DefaultView>
    <chart:ChartDefaultView>
    <chart:ChartDefaultView.ChartLegend>
    <chart:ChartLegend Visibility="Collapsed" />
    </chart:ChartDefaultView.ChartLegend>
                <chart:ChartDefaultView.ChartArea>
                    <chart:ChartArea EnableAnimations="False" SmartLabelsEnabled="False"/>
                </chart:ChartDefaultView.ChartArea>
    </chart:ChartDefaultView>
        </telerik:RadChart.DefaultView>
        <telerik:RadChart.SeriesMappings >
            <telerik:SeriesMapping>
                <telerik:SeriesMapping.SeriesDefinition>
                    <telerik:HorizontalBarSeriesDefinition />
                </telerik:SeriesMapping.SeriesDefinition>
             <telerik:SeriesMapping.ItemMappings>
                    <telerik:ItemMapping DataPointMember="XCategory" FieldName="Status"/>
                    <telerik:ItemMapping DataPointMember="YValue" FieldName="Count"/>
                </telerik:SeriesMapping.ItemMappings>
            </telerik:SeriesMapping>
        </telerik:RadChart.SeriesMappings>
    </telerik:RadChart>
  2. Nikolay
    Admin
    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,
    Nikolay
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
Back to Top