Position DataLables on a pivot pie chart realative to their Points

A

Aaron

I wrote some code to reset my formatting on my pivot pie chart when I
manipulate the pivot drop down menus. Part of my formatting is to position
the Data labels out from the pie chart a bit so the Leader Lines are visible.
I use this code to name the location of the data labels:

ActiveChart.SeriesCollection(1).Points(1).DataLabel.Select
Selection.Left = 641
Selection.Top = 134

My problem is when I use my pivot drop downs, some selections have such
different values that the data labels’ pieces of the pie (Points) are so far
away the leader lines disappear (probably because the path they would have to
take is too complex).

So, instead of setting the position of my DataLables as a static place on
the chart, I want to set them to a location relative to the location of their
pieces of the pie (Points). Any suggestions?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top