RadChart Pie Overlapping issue

2 posts, 0 answers
  1. Fransiscus
    Fransiscus avatar
    7 posts
    Member since:
    May 2011

    Posted 02 Jun 2011 Link to this post

    Hi Is there any solution to avoid 2 series on piechart overlapped each other?I also attached screenshot for better understanding

    Binding code
    private void RebindChartPieReport(RadChart radChart, bool enabledSpider)
               PieSeriesDefinition pieSeriesDefinition = new PieSeriesDefinition();
               if (enabledSpider)
                   RadialLabelSettings radialSettings = new RadialLabelSettings();
                   radialSettings.SpiderModeEnabled = true;
                   radialSettings.ShowConnectors = true;
                   pieSeriesDefinition.LabelSettings = radialSettings;
               radChart.DefaultSeriesDefinition = pieSeriesDefinition;
               SeriesMapping seriesMapping = new SeriesMapping();
               seriesMapping.ItemMappings.Add(new ItemMapping("XYValue", DataPointMember.YValue));
               seriesMapping.ItemMappings.Add(new ItemMapping("YAxisLegendName", DataPointMember.LegendLabel));
    void diagnosticServicesClient_GetResolutionDetailsCompleted(object sender, GetResolutionDetailsCompletedEventArgs e)
               if (TabStaffDashboard.IsSelected)
                   RebindChartPieReport(radPieChart, true);
                   radPieChart.ItemsSource = e.Result;
                   RebindChartPieReport(radPieChartTime, false);
                   radPieChartTime.ItemsSource = e.Result;
  2. Evgenia
    Evgenia avatar
    1437 posts

    Posted 06 Jun 2011 Link to this post

    Hello Fransiscus,

    It seems (from the picture you attached) that Completed and Incomplete Slices have both 0 values and on the other hand the Not Started has value 1. The slices do not overlap but since the 0s are too small - looks like a single line - that is the expected way the Pie should show the data.
    If you want you can use the Distance property when in SpiderMode or LabelOffset property when the SpiderMode is turned off so that you can control the distance of the Labels - for better readability. This is shown in our demo with source code.

    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
Back to Top