Radchart memory leak problem

1 posts, 0 answers
  1. Gurpreet Singh
    Gurpreet Singh avatar
    16 posts
    Member since:
    Jan 2010

    Posted 24 Nov 2016 Link to this post

    If I am placing RadChart on silverlight page, that page is not getting release from memory.

    Version : v2013.3.1204.1050

    Runtime version : v4.0.30319

    <telerikChart:RadChart x:Name="rcAgeingAnalysis"
                                     Style="{StaticResource CustomerDetailsAgeingChart}"
                                     Grid.Row="1">
     
                  <telerikChart:RadChart.DefaultSeriesDefinition>
                      <telerikCharting:BarSeriesDefinition ShowItemLabels="False"
                                                           ItemStyle="{StaticResource CustomerDetailsAgeingBucket}" />
                  </telerikChart:RadChart.DefaultSeriesDefinition>
     
                  <telerikChart:RadChart.DefaultView>
                      <telerikCharting:ChartDefaultView>
     
                          <telerikCharting:ChartDefaultView.ChartLegend>
                              <telerikCharting:ChartLegend Visibility="Collapsed" />
                          </telerikCharting:ChartDefaultView.ChartLegend>
     
                          <telerikCharting:ChartDefaultView.ChartArea>
                              <telerikCharting:ChartArea NoDataString="{Binding NoDataLabel}" />
                          </telerikCharting:ChartDefaultView.ChartArea>
     
                      </telerikCharting:ChartDefaultView>
                  </telerikChart:RadChart.DefaultView>
     
              </telerikChart:RadChart>

     

    SeriesMapping seriesMapping = new SeriesMapping();
     ItemMapping amountMapping = new ItemMapping("Amount", DataPointMember.YValue);
     ItemMapping labelMapping = new ItemMapping("Label", DataPointMember.Label);
     ItemMapping categoryMapping = new ItemMapping("Category", DataPointMember.XCategory);
     seriesMapping.ItemMappings.Add(amountMapping);
     seriesMapping.ItemMappings.Add(labelMapping);
     seriesMapping.ItemMappings.Add(categoryMapping);
     
     this.rcAgeingAnalysis.DefaultSeriesDefinition.ShowItemLabels = false;
     
     this.rcAgeingAnalysis.SeriesMappings.Clear();
     this.rcAgeingAnalysis.SeriesMappings.Add(seriesMapping);
             
     this.rcAgeingAnalysis.ItemsSource = viewModel.Buckets;
Back to Top