Add a horizontal line to a chart

Hi. I would like to add a horizontal line to a stacked column chart. Is there any way for me to manually tell Numbers to put a horizontal line of a certain colour in my chart? I need to do it for comparisons sake.

Thanks

Posted on Aug 17, 2010 4:45 AM

Reply
10 replies

Aug 17, 2010 10:58 AM in response to Felix N

Felix N wrote:
Hi. I would like to add a horizontal line to a stacked column chart. Is there any way for me to manually tell Numbers to put a horizontal line of a certain colour in my chart? I need to do it for comparisons sake.


Here's an image of a solution I suggested for a similar issue not long ago.

User uploaded file

The red line is placed automatically and, as you've probably noted, appears only on the bars themselves. The 'target' determining the position of the red line was changed for the last two columns. Note the different value entered in Target column for the last two rows.

Details are in this thread.

Regards,
Barry

Aug 17, 2010 8:35 AM in response to Felix N

Thanks for the reply. Yes, I am new to the apple discussion. Thank you for the welcome.

Yes, I can see that that is one way of getting it done. Is there another method off adding the line as a line graph onto my stacked column graph? Ideally I want to have a mixed chart-a stacked column and line graph on the same axes. The only option that seems to work is to have a bar graph/area graph and a line graph, none of which will do for me.

Thanks in advance.

Felix

Aug 17, 2010 10:36 AM in response to Felix N

Felix,

You may superimpose as many charts of different, or the same, types as you want. You just need to pay attention to the opacities of the Fills and Lines and the Arrangement, front to back (the stacking order).

I'll offer an opinion though. In your first post you asked for a "manual" technique. I believe that you will be best served by your first instinct, not by a more complicated arrangement.

Jerry

Aug 17, 2010 11:47 AM in response to Felix N

Felix N wrote:
The only option that seems to work is to have a bar graph/area graph and a line graph, none of which will do for me.

Felix,

Here's an overlay consisting of a Stacked Bar chart and a simple Bar Chart. The simple bar chart is in the back and serves to present the limit - the bar is teal and the background is red. I have positioned the small table that contains the data for the limit chart to serve as a limit label.

User uploaded file

You can use graphic fill to further enhance the sense of the limit if you wish.

Jerry

Aug 17, 2010 11:55 AM in response to Barry

Hello Barry

Don't worry, but the OP described the problem in a very different way in it's second message :

Is there another method off adding the line as *_a line graph_* onto my stacked column graph? Ideally I want to have a mixed chart-a stacked column and*_ line graph_* on the same axes. The only option that seems to work is to have a bar graph/area graph and a*_ line graph,_* none of which will do for me.


But maybe I understand wrongly.

Yvan KOENIG (VALLAURIS, France) mardi 17 août 2010 20:54:43

Aug 17, 2010 1:01 PM in response to KOENIG Yvan

KOENIG Yvan wrote:
Hello Barry
Don't worry, but the OP described the problem in a very different way in it's second message :

Is there another method off adding the line as *_a line graph_* onto my stacked column graph? Ideally I want to have a mixed chart-a stacked column and*_ line graph_* on the same axes. The only option that seems to work is to have a bar graph/area graph and a*_ line graph,_* none of which will do for me.


But maybe I understand wrongly.


Hi Yvan,

I think you understood correctly. I read that part as well. The OP is correct—Numbers offers the option of a combination bar graph + line graph, but not the option of a combination stacked bar graph + line graph.

As noted, the illustration in my post was offered originally as a solution for a similar, but different issue. It may be possible to adapt it to the issue in this thread, but I'll await comment from the OP before taking on that adaptation.

Regards,
Barry

Aug 21, 2010 6:43 AM in response to Jerrold Green1

Thanks all,

Your suggested solutions have been very helpful. The solution suggested by Jerrold of overlaying the two graphs seems the closest to what I would like. While it is still not exactly what i had in mind-it would still be nice to simply select the mixed chart option and have a stacked column and line graph together-this will have to do.

Felis

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Add a horizontal line to a chart

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.