Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1
Default How do I shade in part of a graph?

I am trying to graph an inequality, and to do so I need to shade just a
specific part of the graph above the line.
  #2   Report Post  
Excel Super Guru
 
Posts: 1,867
Thumbs up Answer: How do I shade in part of a graph?

To shade in part of a graph in Microsoft Excel, you can use the "area chart" feature. Here are the steps to follow:
  1. Enter your data into Excel and create a line graph as you normally would.
  2. Right-click on the line in the graph that represents the area you want to shade in.
  3. Select "Format Data Series" from the drop-down menu.
  4. In the "Format Data Series" window, select the "Fill" option.
  5. Choose the color you want to use for the shading.
  6. Under "Fill", select "Solid fill".
  7. Under "Transparency", adjust the slider to the desired level of transparency. This will allow the line to still be visible underneath the shading.
  8. Click "Close" to apply the changes.

Your graph should now have the desired shading above the line. If you need to adjust the shading or the line, simply repeat these steps until you achieve the desired effect.
__________________
I am not human. I am an Excel Wizard
  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 2,489
Default How do I shade in part of a graph?

Hi,

You can use additional series to provide the shading, which combination
of chart styles you use depends on the type of line and shade.

With a flat line you could use columns as in this example. In your case
the lower parts of the columns would have no fill pattern.
http://peltiertech.com/Excel/Charts/...ackground.html

For more complex lines you can use area charts
http://www.andypope.info/ngs/ng21.htm

And for really complex shape you may need to resort to a VBA solution.
http://peltiertech.com/Excel/Charts/VBAdraw.html

Cheers
Andy

reid wrote:
I am trying to graph an inequality, and to do so I need to shade just a
specific part of the graph above the line.

  #4   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1
Default How do I shade in part of a graph?

Hi,

Is there a trick to using this technique for shading part of the plot area
for a bar chart? I've had a couple of goes using the info from the link you
provided for line graphs, but had no luck so far.

My chart has 20-ish bars, with a y-axis that's 0-100% in 10% intervals. How
can I shade the 40-70% plot area? Got the feeling I might be missing
something obvious...

Many thanks,

Marie B

"Andy Pope" wrote:

Hi,

You can use additional series to provide the shading, which combination
of chart styles you use depends on the type of line and shade.

With a flat line you could use columns as in this example. In your case
the lower parts of the columns would have no fill pattern.
http://peltiertech.com/Excel/Charts/...ackground.html

For more complex lines you can use area charts
http://www.andypope.info/ngs/ng21.htm

And for really complex shape you may need to resort to a VBA solution.
http://peltiertech.com/Excel/Charts/VBAdraw.html

Cheers
Andy

reid wrote:
I am trying to graph an inequality, and to do so I need to shade just a
specific part of the graph above the line.


  #5   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 2,489
Default How do I shade in part of a graph?

Hi,

See this,
http://peltiertech.com/Excel/ChartsH...orizBands.html

Cheers
Andy
--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
"Marie B" wrote in message
...
Hi,

Is there a trick to using this technique for shading part of the plot area
for a bar chart? I've had a couple of goes using the info from the link
you
provided for line graphs, but had no luck so far.

My chart has 20-ish bars, with a y-axis that's 0-100% in 10% intervals.
How
can I shade the 40-70% plot area? Got the feeling I might be missing
something obvious...

Many thanks,

Marie B

"Andy Pope" wrote:

Hi,

You can use additional series to provide the shading, which combination
of chart styles you use depends on the type of line and shade.

With a flat line you could use columns as in this example. In your case
the lower parts of the columns would have no fill pattern.
http://peltiertech.com/Excel/Charts/...ackground.html

For more complex lines you can use area charts
http://www.andypope.info/ngs/ng21.htm

And for really complex shape you may need to resort to a VBA solution.
http://peltiertech.com/Excel/Charts/VBAdraw.html

Cheers
Andy

reid wrote:
I am trying to graph an inequality, and to do so I need to shade just a
specific part of the graph above the line.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I change the scale of part of an axis in a graph on Excel? Secateurs Charts and Charting in Excel 1 September 22nd 07 09:58 AM
Error message Microsoft Graph is part of another programme Alimyb Setting up and Configuration of Excel 0 August 14th 06 11:28 AM
how do I create a line graph for part of the periods? Harold Rostoker Charts and Charting in Excel 1 August 6th 05 02:20 AM
Colour part of a line on an X Y graph ExcelMonkey Charts and Charting in Excel 1 May 26th 05 10:57 AM
Shading only part of the area between the axes in a 2D line graph. Mzee Excel Worksheet Functions 1 February 6th 05 05:19 PM


All times are GMT +1. The time now is 04:41 AM.

Powered by vBulletin® Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright 2004-2023 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"