Color Break in Line Charts?

M

Mr. Platypus

I have a cash projection spreadsheet with a linked line chart. In the
projection sheet, the font goes from black to green when the data goes from
actual to projected.

Is there a way to make the line or the x-axis change colors at the point
that the date does so (i.e., have the line turn green halfway through the
chart)?

Thank you in advance.
 
E

es330td

I have a cash projection spreadsheet with a linked line chart.  In the
projection sheet, the font goes from black to green when the data goes from
actual to projected.

Is there a way to make the line or the x-axis change colors at the point
that the date does so (i.e., have the line turn green halfway through the
chart)?

Thank you in advance.

Wow. You and I asked the same question in two different ways. I hope
one of us gets an answer.
 
S

ShaneDevenshire

Hi,

Yes/No - not the axis in 2003, but suppose your lowest value is 0, that is
the x-axis crosses the y-axis at zero. Add two new series to your data set
all of the values of which will be 0. See below. Add these two series to
the chart, turn their markers off and change their colors as you need.
Remove them from the Legend

Data Dummy X1 Dummy X2
12 0
31 0
21 0
54 0 0
34 0
54 0
61 0

If this helps, please click the Yes button.
 
M

Mr. Platypus

Thank you much. Unfortunately, that is not going to work. Adding dummy data
will not be advisable as the chart is continually having data added to it.

It don't want to have to update a dummy data set every time.
 
S

ShaneDevenshire

Hi,

2003 and earlier has no way to format the axis to more than 1 color. You
can buy 2007 it lets you use gradient fill on the axis, but it is a gradient
not a solid color all the way to the half way point.

I suppose you can draw two lines using the line tool and format each to a
different colors then line them up over the axis.

You can check Jon Poltier's site but I doubt he has a solution.
 
A

Andy Pope

Hi,

There is no reason the dummy data has to be static.
You only need a few bits of information to draw 2 lines.
If you plot 1 additional data series as an xy-scatter with 2 points you
only need the start and finish x value to change. Y values would be zero
or whatever value your x axis crosses the Y.
These 2 values can be determined by formula. The formula can either be
stored in a couple of cells or named ranges if you do not want to use
the worksheet.

Cheers
Andy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top