Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Charting / May 2007

Tip: Looking for answers? Try searching our database.

Wonky Area Graph Problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ken Snyder - 15 May 2007 13:46 GMT
For a project I'm working on I have an area graph that has two series (actual
data and projected data). As the x-axis has weekly data i'd like the point of
the "actual data" to flow right into the "forecasted data". This works but
for some bizarre reason the vertical line that separates these two areas is
not purely vertical but slants backward to the left.

Probably best to show a picture of this. I've posted it here:
http://ken.net/images/WonkyAreaGraph.jpg

Any help would be appreciated.
Jon Peltier - 15 May 2007 15:48 GMT
Your data is like

           actual    projected
1-jan-07      100          0
2-jan-07      110          0
3-jan-07        0          120
4-jan-07        0          130

so you have a line in the actual series from {2-jan-07, 110} to {3-jan-07,
0}, which slopes downward, and another in the projected series from
{2-jan-07, 0} to {3-jan-07, 120}, which would slope upwards, except it
nicely fills in next to the downward sloping line.

Keeping a time-scale axis, change your data like this, so you have two
points for each series on the date where the vertical transition belongs:

           actual    projected
1-jan-07      100          0
2-jan-07      110          0
2-jan-07        0          110
3-jan-07        0          120
4-jan-07        0          130

The lines are now defined at {2-jan-07, 110} to {2-jan-07, 0} and {2-jan-07,
0} to {2-jan-07, 110}, with both endpoints on the same date, thus they are
vertical.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______

> For a project I'm working on I have an area graph that has two series
> (actual
[quoted text clipped - 9 lines]
>
> Any help would be appreciated.
John_K - 30 May 2007 15:19 GMT
Another way to do this is the following...

This is a 'feature' of excel i think...

Right click your graph and turn it into a line graph
You soft stop data SHOULD stop in mid air now
Click on the data line that you want to turn into a area graph
Right click on the line and then select Chart Type
Change the chart type to Area Fill graph...

Do for all the data lines on the graph you want to

Roberts your Dads brother...

:o)

All the best,

John

> Your data is like
>
[quoted text clipped - 43 lines]
> >
> > Any help would be appreciated.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.