All Products
Demos
Pricing
Services
Blogs
Docs & Support
Search
Shopping cart
Login
Contact Us
Get A Free Trial
close mobile menu
Telerik Forums
/
UI for ASP.NET AJAX Forum
/
Chart (Obsolete)
/
Pie Chart labelling visual issues
Cancel
Telerik UI for ASP.NET AJAX
Resources
Buy
Try
Thread is closed for posting
Feed for this thread
2 posts, 0 answers
Brian Mains
485 posts
Member since:
Oct 2008
Posted 04 Jan 2010
Link to this post
Hello,
On some of our pie charts, the label's overlap each other and make the number's hard to read. This can be because the pie chart slices are small. This is producing a visual issue. Is there a workaround to this? Can I force the numbers to come out farther away from the pie chart?
Thanks.
Schlurk
812 posts
Member since:
May 2009
Posted 05 Jan 2010
Link to this post
You might want to look into using label connectors. You can use this code-behind to do it:
RadChart1.Series[0].Appearance.ShowLabelConnectors =
true
;
RadChart1.Series[0].Appearance.LabelAppearance.Distance = 10;
RadChart1.Series[0].Appearance.LabelAppearance.LabelConnectorStyle.Color = Color.Blue;
Or if you prefer the declaration approach:
<
telerik:ChartSeries
Name
=
"Series 1"
Type
=
"Pie"
>
<
appearance
ShowLabelConnectors
=
"true"
>
<
LabelAppearance
Distance
=
"20"
LabelConnectorStyle-Color
=
"AliceBlue"
>
</
LabelAppearance
>
....
Hope this helps :)
Back to Top