• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Color Chartlines based on values

An Excel Line-chart with target and real values over a certain period of time.
I try to achieve to color the line with values below target in red an above target in green.
The lines between above/below are made gray in the attached example.

Is it possible to color lines realy above/below target so it becomes a solid line of two colors?

Gerard
 

Attachments

  • Format graph.xls
    34 KB · Views: 8
Welcome to the forum!
In short, no. :(

With the line chart, there's no real "point" where the line is crossing that target, and so we can't split the line into 2 separate colors. You could easily color just points, or switch chart types (maybe a column chart?).
 
You could also try the following technique:

With only a single line, increase the line thickness
Then set the Line Color to Gradient, Linear and 90 Degrees
Set the end colors to suit
Adjust the position of the Center point (White) to match the Target line

upload_2014-11-21_10-30-32.png
 

Attachments

  • Format graph Hui.xls
    31 KB · Views: 10
Back
Top