This is a migrated thread and some comments may be shown as answers.

Unwanted line in Pie Chart

3 Answers 114 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 2
Iron
Iron
Iron
Michael asked on 26 Jan 2012, 06:17 PM
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.

3 Answers, 1 is accepted

Sort by
0
Accepted
Yavor
Telerik team
answered on 27 Jan 2012, 12:26 PM
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
0
Roberto
Top achievements
Rank 1
answered on 22 Nov 2012, 08:07 AM
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
0
Yavor
Telerik team
answered on 23 Nov 2012, 07:59 AM
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.
Tags
Chart (Obsolete)
Asked by
Michael
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Yavor
Telerik team
Roberto
Top achievements
Rank 1
Share this question
or