Custom Marks for Pie/Donut Series
Custom Marks for Pie/Donut Series
I would like to be able to place the marks for a pie/donut chart inside the slices. I cannot find a way to detect the position of an individual slice that would allow me to place a custom mark at that location. Functions such as CalcXPos(ValueIndex) return the origin of the pie chart rather than the position of the specified slice. I've had little problem customizing mark position for other types of series (e.g., arrow or line) (well, after a little trial and error, anyway), but there does not seem to be a way to get individual slice locations. Any suggestions would be appreciated.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi msr,
An easy way to have the marks inside the pie slices is using negative marks arrow length:
An easy way to have the marks inside the pie slices is using negative marks arrow length:
Code: Select all
Series1.Marks.Arrow.Visible:=false;
Series1.Marks.ArrowLength:=-50;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |