Page 1 of 1

Custom Marks for Pie/Donut Series

Posted: Tue Sep 26, 2006 9:07 pm
by 9236894
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.

Posted: Wed Sep 27, 2006 8:02 am
by narcis
Hi msr,

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;

Posted: Wed Sep 27, 2006 5:46 pm
by 9236894
That never even occurred to me. What a great idea. Thanks, I'll give it a try.