Pie series arrow

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Nick
Newbie
Newbie
Posts: 9
Joined: Wed May 14, 2008 12:00 am

Pie series arrow

Post by Nick » Fri Feb 13, 2009 4:11 pm

I thought I had seen a post on this before, but I can't find it. I've got a pie that has two slices near the top and slightly to the left. The marks for both slices show up on the left. The text that shows up, correctly, on the top is a little long and I've got it set to wrap. All this works fine.

My problem is that since the text for the second slice needs to be moved down the arrow now runs through the pie. How can I fix that? I guess I need to put a bend in the arrow.

Thanks for any help, I really appreciate it.

Thanks,
Nick

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Feb 13, 2009 4:18 pm

Hi Nick,

What about LegSize?

Code: Select all

pie1.MarksPie.LegSize = 25;
Hope this helps!
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Nick
Newbie
Newbie
Posts: 9
Joined: Wed May 14, 2008 12:00 am

Post by Nick » Fri Feb 13, 2009 4:33 pm

Thanks for the quick reply. I'm not sure if that will work or not. I have a function called DrawAnnotations that places the labels and draws the line from text to the slice of the pie. I guess I need to draw multiple lines to get the desired effect? Any samples of this anywhere to make sure I'm not hitting the pie?

Thanks,
Nick

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Feb 13, 2009 4:34 pm

Hi Nick,

I can only think about the example Pep posted here.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply