LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 287
Default Position DataLables on a pivot pie chart realative to their Points

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).DataLabe l.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 it to a location relative to the location of its
piece of the pie (Points). Any suggestions?

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA Code to move DataLables to top of Chart Frank Hayes Charts and Charting in Excel 4 October 13th 07 02:15 PM
Position DataLables on a pivot pie chart realative to their Points Aaron Charts and Charting in Excel 0 September 1st 07 07:12 PM
Getting cell position in points naddad[_4_] Excel Programming 1 January 24th 06 11:07 PM
create space in line chart between points, linked to pivot table Mike -Z- Charts and Charting in Excel 1 December 7th 04 09:39 PM
Determining chart points at mouse position Steve Excel Programming 2 May 30th 04 03:46 AM


All times are GMT +1. The time now is 05:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"