SIGforum.com    Main Page  Hop To Forum Categories  The Lounge    Oh mighty excel users.... chart format question
Go
New
Find
Notify
Tools
Reply
  
Oh mighty excel users.... chart format question Login/Join 
Unapologetic Old
School Curmudgeon
Picture of Lord Vaalic
posted
OK, I have very basic line chart.

I just want to make the background different colors within one band, example, the range is a % from 20% to 100%

I would like the band between 70% and 80% to be green so there is a nice visual stripe of what the target range is.

Is there a way to do that?




Don't weep for the stupid, or you will be crying all day
 
Posts: 10764 | Location: TN | Registered: December 18, 2005Reply With QuoteReport This Post
Member
posted Hide Post
Maybe conditional formating from the robbon choices?


________________________________________________________
You never know...
 
Posts: 278 | Registered: October 31, 2007Reply With QuoteReport This Post
Spread the Disease
Picture of flesheatingvirus
posted Hide Post
Plot each line segment (like 70-80%) as a separate data series, then color each one.

Further explanation:

I'm assuming you have an x/y data set. Let's say red is x=1,2,3,4,5 and green is x=5, 6,7,8,9,10.

Note: to get the line to connect between each series, you'll have to overlap the points from the previous series, ie - Series 2 will include point 5 from Series 1.

I'm going to assume, for simplicity, that we have a linear line with a slope of 1, so that the x values and y values match.

Instead of plotting points 1-10 at once as a single series, plot 1-5 as Series 1 (red) and 5-10 as Series 2 (green).

If you need extra assistance, shoot me your file and I'll show you.

flesheatingvirus@yahoo.com

Example I threw together:



Last resort: Save the line plot as a .PNG or .JPG file and recolor in Photoshop! Wink

I much prefer using Igor Pro for making sweet graphs/plots, but it is geared towards the scientific graphing audience, so while it can do a LOT more modifications to graphs, it may not be as user friendly as Excel for simple data sets.


________________________________________

-- Fear is the mind-killer. Fear is the little-death that brings total obliteration. I will face my fear. I will permit it to pass over me and through me. And when it has gone past me I will turn the inner eye to see its path. Where the fear has gone there will be nothing. Only I will remain. --
 
Posts: 17699 | Location: New Mexico | Registered: October 14, 2005Reply With QuoteReport This Post
Muzzle flash
aficionado
Picture of flashguy
posted Hide Post
I think the OP is wanting the BACKGROUND to be a different color in places, not the line itself.

flashguy




Texan by choice, not accident of birth
 
Posts: 27911 | Location: Dallas, TX | Registered: May 08, 2006Reply With QuoteReport This Post
His Royal Hiney
Picture of Rey HRH
posted Hide Post
quote:
Originally posted by Lord Vaalic:
OK, I have very basic line chart.

I just want to make the background different colors within one band, example, the range is a % from 20% to 100%

I would like the band between 70% and 80% to be green so there is a nice visual stripe of what the target range is.

Is there a way to do that?


Easy enough.

1) Create your graph.

2) Click on the top menu Insert then Shapes and select the rectangular shape.

3) Draw the rectangle on top of the chart. For the picture, I drew it on the band between 80% and 70%.

4) right click on the rectangle. Select Format Shape. Select Solid Fill, pick the color, select the Transparency. On mine, I chose 63% so that the line shows through. Under line, select No Line.

5) You're done.

- Rey "The Excel Whisperer" HRH




"It did not really matter what we expected from life, but rather what life expected from us. We needed to stop asking about the meaning of life, and instead to think of ourselves as those who were being questioned by life – daily and hourly. Our answer must consist not in talk and meditation, but in right action and in right conduct. Life ultimately means taking the responsibility to find the right answer to its problems and to fulfill the tasks which it constantly sets for each individual." Viktor Frankl, Man's Search for Meaning, 1946.
 
Posts: 20180 | Location: The Free State of Arizona - Ditat Deus | Registered: March 24, 2011Reply With QuoteReport This Post
wishing we
were congress
posted Hide Post
Rey HRH had a better way than my idea.

I moved the chart to powerpoint and added the transparent rectangles there.
 
Posts: 19759 | Registered: July 21, 2002Reply With QuoteReport This Post
Spread the Disease
Picture of flesheatingvirus
posted Hide Post
quote:
Originally posted by flashguy:
I think the OP is wanting the BACKGROUND to be a different color in places, not the line itself.

flashguy


Well...shit. Smile


________________________________________

-- Fear is the mind-killer. Fear is the little-death that brings total obliteration. I will face my fear. I will permit it to pass over me and through me. And when it has gone past me I will turn the inner eye to see its path. Where the fear has gone there will be nothing. Only I will remain. --
 
Posts: 17699 | Location: New Mexico | Registered: October 14, 2005Reply With QuoteReport This Post
Unapologetic Old
School Curmudgeon
Picture of Lord Vaalic
posted Hide Post
quote:
Originally posted by Rey HRH:
quote:
Originally posted by Lord Vaalic:
OK, I have very basic line chart.

I just want to make the background different colors within one band, example, the range is a % from 20% to 100%

I would like the band between 70% and 80% to be green so there is a nice visual stripe of what the target range is.

Is there a way to do that?


Easy enough.

1) Create your graph.

2) Click on the top menu Insert then Shapes and select the rectangular shape.

3) Draw the rectangle on top of the chart. For the picture, I drew it on the band between 80% and 70%.

4) right click on the rectangle. Select Format Shape. Select Solid Fill, pick the color, select the Transparency. On mine, I chose 63% so that the line shows through. Under line, select No Line.

5) You're done.

- Rey "The Excel Whisperer" HRH



Yes! That's it! Thank you!




Don't weep for the stupid, or you will be crying all day
 
Posts: 10764 | Location: TN | Registered: December 18, 2005Reply With QuoteReport This Post
Unapologetic Old
School Curmudgeon
Picture of Lord Vaalic
posted Hide Post
quote:
Originally posted by flesheatingvirus:
quote:
Originally posted by flashguy:
I think the OP is wanting the BACKGROUND to be a different color in places, not the line itself.

flashguy


Well...shit. Smile


Thanks anyway! I'm sure at some point that knowledge will come in handy also!




Don't weep for the stupid, or you will be crying all day
 
Posts: 10764 | Location: TN | Registered: December 18, 2005Reply With QuoteReport This Post
  Powered by Social Strata  
 

SIGforum.com    Main Page  Hop To Forum Categories  The Lounge    Oh mighty excel users.... chart format question

© SIGforum 2024