PC Review


Reply
Thread Tools Rate Thread

Adding a horizontal line to a stock chart

 
 
wittmaennle
Guest
Posts: n/a
 
      20th Apr 2006
Hi!

I've got a stock chart displaying the average value and a high-low-line
for each value displaying the min/max value. Furthermore I have the
number of values the from which the min/max/avg values are derieved
plotted on the secondary axis.

Now I want to add a horizontal line for the primary axis at a given
value.
My solutions so far aren't really satisfactory.
Solution 1: drawing a line
Drawback: when the scaling changes, the line has to be
moved.

Solution 2: adding a new series with 2 fixed values and making a
trendline out of it
Drawback: the high-low-values are messed up

Are there any other possibilities? I think the solution given for line
and column charts by Jon Peltier isn't applicable - or do I miss
something?

Thanks in advance for any suggestions,
Rene

 
Reply With Quote
 
 
 
 
Jon Peltier
Guest
Posts: n/a
 
      20th Apr 2006
Try this link:

Stock Chart with Added Series
http://peltiertech.com/Excel/Charts/StockChartPlus.html

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______

"wittmaennle" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi!
>
> I've got a stock chart displaying the average value and a high-low-line
> for each value displaying the min/max value. Furthermore I have the
> number of values the from which the min/max/avg values are derieved
> plotted on the secondary axis.
>
> Now I want to add a horizontal line for the primary axis at a given
> value.
> My solutions so far aren't really satisfactory.
> Solution 1: drawing a line
> Drawback: when the scaling changes, the line has to be
> moved.
>
> Solution 2: adding a new series with 2 fixed values and making a
> trendline out of it
> Drawback: the high-low-values are messed up
>
> Are there any other possibilities? I think the solution given for line
> and column charts by Jon Peltier isn't applicable - or do I miss
> something?
>
> Thanks in advance for any suggestions,
> Rene
>



 
Reply With Quote
 
=?Utf-8?B?SmVmZiBpbiBBcml6b25h?=
Guest
Posts: n/a
 
      20th Apr 2006
I have added a horizontal line to area charts.
try this
create your new series of a single value you want on the chart
add the series to the chart
in the chart, right click on the new series and change its chart type to XY
(scatter)
back in the "source data" boxes for this new series:
make the X values the same as the x axis labels
make the Y values your series of single value..

back in the chart, you can right click on the new series and change color if
this helps

hope this helps

jd


"wittmaennle" wrote:

> Hi!
>
> I've got a stock chart displaying the average value and a high-low-line
> for each value displaying the min/max value. Furthermore I have the
> number of values the from which the min/max/avg values are derieved
> plotted on the secondary axis.
>
> Now I want to add a horizontal line for the primary axis at a given
> value.
> My solutions so far aren't really satisfactory.
> Solution 1: drawing a line
> Drawback: when the scaling changes, the line has to be
> moved.
>
> Solution 2: adding a new series with 2 fixed values and making a
> trendline out of it
> Drawback: the high-low-values are messed up
>
> Are there any other possibilities? I think the solution given for line
> and column charts by Jon Peltier isn't applicable - or do I miss
> something?
>
> Thanks in advance for any suggestions,
> Rene
>
>

 
Reply With Quote
 
wittmaennle
Guest
Posts: n/a
 
      21st Apr 2006
Thanks to both!!

The most important thing is that you choose XY (scatter) as chart type
for your new series, so both hints were really helpful.

@Jon: I already had a look at your page, but probably missed the main
point!

I solved my problem now by using 2 fixed values as series (instead of
the data embedded in the worksheet) and then I added X-error bars
(because I need only a horizontal line at a fixed height)

Thanks again,
Rene

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding Horizontal Lines to a stock chart Bondonian Microsoft Excel Charting 3 21st Dec 2007 03:06 AM
Provide a "high/low" chart (stock chart) in horizontal mode =?Utf-8?B?SG9yaXpvbnRhbCBoaWdoL2xvdyBjaGFydA==?= Microsoft Excel Charting 2 29th Jan 2006 12:11 AM
Re: Adding additional data series as a line to stock chart? Debra Dalgleish Microsoft Excel Charting 0 1st Jun 2004 07:16 PM
adding a horizontal line in excel chart jen Microsoft Excel Misc 3 27th Feb 2004 08:46 PM
Adding a horizontal line to a Pivot Chart =?Utf-8?B?c2hhcm9uYw==?= Microsoft Excel Charting 1 22nd Jan 2004 06:25 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:28 AM.