ExcelTip.com
Account Icon Account Icon Account Icon
ExcelTip.com

Go Back   Excel Help Forum > Microsoft Office Application Help - Excel Help forum > Excel Programming > Excel Charting

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-05-2005, 01:06 PM
TOMB
Guest
 
Posts: n/a
Leader Lines Connecting Chart to Box

I have a pie chart with a text box (to the upper right). I take one slice and
draw lines from the top and bottom of the outside ends of the slice to
connect to the text box.

Naturally, as the data changes, the slice changes (or the pie slightly
rotates) which requires me to adjust the lines to the box.

Is there a way to have these lines track with the chart?

Reply With Quote
  #2  
Old 05-07-2005, 02:06 PM
Andy Pope
Guest
 
Posts: n/a
Re: Leader Lines Connecting Chart to Box

Hi,

Here is a possible solution. It uses a combination chart which allows
the lines to be plotted and updated dynamically by using a xy-scatter.
http://www.andypope.info/charts/customerleaderlines.htm

If you have to still with using the drawn lines then you will have to
use VBA code to re position the lines according to the new data.

Cheers
Andy

TOMB wrote:
> I have a pie chart with a text box (to the upper right). I take one slice and
> draw lines from the top and bottom of the outside ends of the slice to
> connect to the text box.
>
> Naturally, as the data changes, the slice changes (or the pie slightly
> rotates) which requires me to adjust the lines to the box.
>
> Is there a way to have these lines track with the chart?
>


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
Reply With Quote
Reply

Bookmarks

New topics in Excel Charting


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


All times are GMT -4. The time now is 08:27 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0