Unwanted line in Pie Chart

Thread is closed for posting
4 posts, 1 answers
  1. Michael
    Michael avatar
    27 posts
    Member since:
    May 2011

    Posted 26 Jan 2012 Link to this post

    I have a (RadChart) pie chart and for some reason even though the 1 (and only) series item is showing 100% I get this unwanted line that makes it appear as though there is a another miniscule series item (segment) - can anyone tell me how to get rid of this line if at all possible - 100% should show as just a complete circle with no other pie segments.  Please refer to attached file.
  2. Answer
    Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 27 Jan 2012 Link to this post

    Hi,

    This unwanted line is due to the border. You can set it to 0, to eliminate this effect:

     chartSeries.Appearance.Border.Width = 0;

    I hope this helps.

    Kind regards,
    Yavor
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Roberto
    Roberto avatar
    5 posts
    Member since:
    Jun 2010

    Posted 22 Nov 2012 Link to this post

    Hi,

    it helps if you don't want border, but it doesn't if you need border...
    for example, you have a pie with two sectors. Both sectors have borders. The first of sector, have 100% value and second 0%. The pie shows like Michael's attachment. If we remove the borders, the line dissapears, but the border of the first sector too. Is any way to preserve the border of the first sector without the line?

    Thanks in advance
  5. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 23 Nov 2012 Link to this post

    Hi,

    Presently, you have to choose one of the two options - either remove the border altogether, or have a border for both series.

    All the best,
    Yavor
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top