Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
HEK
 
Posts: n/a
Default How to make a Line Chart with shaded uncertainty band

In scenarios, the forecasted values often have a higher uncertainty the
further they are in the future (like a weather forecast). I would like to
show this "uncertainty band" in a line chart. Of course this can be done by
graphing two extra lines for optimistic and pessimistic values, or for any
limit values, but I would like to shade the area between these upper and
lower limits, preferably by a transparent colour so gridlines are still
visible. Anyone with an idea how to do this?
Thanks for your help,
Henk
  #2   Report Post  
Posted to microsoft.public.excel.charting
Andy Pope
 
Posts: n/a
Default How to make a Line Chart with shaded uncertainty band

Hi,

You can create the shading by using dummy data plotted as an area chart.
See here for some examples.

http://peltiertech.com/Excel/Charts/...f.html#XYArea2
http://pubs.logicalexpressions.com/P...cle.asp?ID=590
http://www.andypope.info/ngs/ng21.htm

You will not be able to get the transparent effect you need though,
unless you use a shape to provide the fill. See Jon Peltier's page to this.
http://peltiertech.com/Excel/Charts/VBAdraw.html

Cheers
Andy

HEK wrote:
In scenarios, the forecasted values often have a higher uncertainty the
further they are in the future (like a weather forecast). I would like to
show this "uncertainty band" in a line chart. Of course this can be done by
graphing two extra lines for optimistic and pessimistic values, or for any
limit values, but I would like to shade the area between these upper and
lower limits, preferably by a transparent colour so gridlines are still
visible. Anyone with an idea how to do this?
Thanks for your help,
Henk


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
  #3   Report Post  
Posted to microsoft.public.excel.charting
HEK
 
Posts: n/a
Default How to make a Line Chart with shaded uncertainty band

Thank you, Andy! I guess I can work it out now. I think I can keep the
gridlines with a transparent overlay chart but will have to figure it out.
Henk

"Andy Pope" wrote:

Hi,

You can create the shading by using dummy data plotted as an area chart.
See here for some examples.

http://peltiertech.com/Excel/Charts/...f.html#XYArea2
http://pubs.logicalexpressions.com/P...cle.asp?ID=590
http://www.andypope.info/ngs/ng21.htm

You will not be able to get the transparent effect you need though,
unless you use a shape to provide the fill. See Jon Peltier's page to this.
http://peltiertech.com/Excel/Charts/VBAdraw.html

Cheers
Andy

HEK wrote:
In scenarios, the forecasted values often have a higher uncertainty the
further they are in the future (like a weather forecast). I would like to
show this "uncertainty band" in a line chart. Of course this can be done by
graphing two extra lines for optimistic and pessimistic values, or for any
limit values, but I would like to shade the area between these upper and
lower limits, preferably by a transparent colour so gridlines are still
visible. Anyone with an idea how to do this?
Thanks for your help,
Henk


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info

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
Line chart with multiple scales/units along an axis... JohanD Charts and Charting in Excel 3 March 19th 06 05:53 AM
How do I print comments on a chart? Tom Z. Charts and Charting in Excel 11 March 16th 06 09:44 PM
how can I limit my chart Richard Erlacher Charts and Charting in Excel 7 March 7th 06 01:08 PM
Pie-in-Pie (sort of) how can I make this chart? KR Charts and Charting in Excel 1 June 10th 05 12:35 PM
pivot table multi line chart souris Charts and Charting in Excel 2 December 7th 04 04:56 AM


All times are GMT +1. The time now is 08:40 PM.

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

About Us

"It's about Microsoft Excel"