LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
John Cordes
 
Posts: n/a
Default Label an average line in a dynamic chart

I have a chart (xy scatter) showing the last 52 weeks of data (it's
accumulated weekly dosage of a medicine - several years worth of data),
i.e. total dose per week plotted against the dates. I also have an
average line (Series 2) charted - it's the average of the 52 y-values. I
did it by creating some 'dummy' values in the data sheet, looking
something like this:
E F
1 12/06/2004 1.798076923
2 11/06/2005 1.798076923

Then the line is constructed from
=SERIES("Average",Data!$E$1:$E$2,Data!$F$1:$F$2,2)

As a final finishing touch I'd like to have a label (1.80 to 2 decimals)
placed at the right end of the line. All I've been able to come up
with so far is to have the two data labels plotted, but then the number
1.80 appears both at the left and right end of the line; the one on the
left is on the right of the data point and so overwrites the horizontal
line (I just have the line showing, not the data points). Doesn't look
very good.

I hope I've managed to explain my setup satisfactorily, and that
someone might be able to suggest a way to have just a single label
showing the average value beside my "Average Line".

Thanks,
John
 
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
Line chart in Excel - trendline incomplete [email protected] Charts and Charting in Excel 7 May 13th 05 01:21 PM
Plotting moving average line on a chart Herbert Chan Charts and Charting in Excel 1 February 26th 05 08:31 PM
Line chart - date line association gone mad! Johannes Czernin Charts and Charting in Excel 5 January 17th 05 08:48 PM
Chart Label wraps on the same line. "Wavelenght [nm]" appears as. rog Charts and Charting in Excel 1 December 15th 04 08:10 PM
pivot table multi line chart souris Charts and Charting in Excel 2 December 7th 04 03:56 AM


All times are GMT +1. The time now is 10:42 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"