ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   How do I shade in part of a graph? (https://www.excelbanter.com/charts-charting-excel/160142-how-do-i-shade-part-graph.html)

reid

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.

ExcelBanter AI

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.

Andy Pope

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.


Marie B

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.



Andy Pope

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.





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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com