+ Reply to Thread
Results 1 to 8 of 8

Gantt Chart Vertical Lines

  1. #1
    Registered User
    Join Date
    02-23-2014
    Location
    New York, United States
    MS-Off Ver
    Excel 2013
    Posts
    6

    Gantt Chart Vertical Lines

    Hello all,

    I am trying to figure out how to add vertical lines to represent the dates associated with the investments in the Gannt chart in the attached Excel. I tried to create a new series using XY Scatter straight line, as a previous thread suggested, but it doesn't seem to work. I would very much appreciate if anyone could take a look at the attachment and tell me what I'm doing wrong. Thanks very much.
    Attached Files Attached Files
    Last edited by gcaulfield88; 02-23-2014 at 04:20 PM.

  2. #2
    Registered User
    Join Date
    02-23-2014
    Location
    New York, United States
    MS-Off Ver
    Excel 2013
    Posts
    6

    Re: Gantt Chart Vertical Lines

    If anyone is having problems understanding what I'm asking, let me know and I can try and explain further.

    Basically, all I want to do is add a vertical line down the entirety of the chart to represent certain dates that investments were made during these projects. The line would intersect all of the bars. Also, if I could somehow add a blurb at the top or bottom of the vertical line saying "Investment #1, Investment # 2...etc.", that would be the best case scenario. Thanks again everyone.

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Gantt Chart Vertical Lines

    You have a choice. If you use xy-scatter with a single data point then you need to add error bar to draw the line.
    I have added eror bar to Investment #1.

    Alternatively you use xy-scatter with 2 data points (start/finish) this I have done for Investment #2
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

  4. #4
    Registered User
    Join Date
    02-23-2014
    Location
    New York, United States
    MS-Off Ver
    Excel 2013
    Posts
    6

    Re: Gantt Chart Vertical Lines

    This looks great. Thank you very much.

    There may not be a way to do this, but is there anyway to add a blurb directly below or above these lines that say "Investment #1, Investment #2, etc."?

    If not, no biggie. I appreciate the help.

  5. #5
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Gantt Chart Vertical Lines

    Use data labels on those series. If you have more that one data point then select the series and then the data point before applying data labels.

  6. #6
    Registered User
    Join Date
    02-23-2014
    Location
    New York, United States
    MS-Off Ver
    Excel 2013
    Posts
    6

    Re: Gantt Chart Vertical Lines

    Awesome. Works great. Thanks again.

  7. #7
    Registered User
    Join Date
    02-23-2014
    Location
    New York, United States
    MS-Off Ver
    Excel 2013
    Posts
    6

    Re: Gantt Chart Vertical Lines

    Andy,

    One more thing on this, if you don't mind.

    Is there any way I can make the vertical lines extend all the way to the top, while also leaving room for the Data Labels? I have 10 investment dates and I'm trying to show how many projects were going on at the time of each investment, so I'd like the lines to extent throughout the whole chart. As far as leaving room for the data labels, I could always place them at the bottom.

    Let me know what you think. I owe you a pint next time I'm in the UK. Thanks again.

    G
    Attached Files Attached Files

  8. #8
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Gantt Chart Vertical Lines

    Change the secondary vertical scale max to 1.
    You can Center the data labels rather than position right

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Vertical lines on a chart?
    By ryanjb in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-25-2013, 05:38 AM
  2. Remove extra vertical space in Gantt chart
    By run4it in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 12-03-2009, 06:57 PM
  3. Vertical Lines - Area Chart
    By negcx in forum Excel General
    Replies: 3
    Last Post: 12-30-2008, 07:29 AM
  4. Add 2 vertical lines to bar chart
    By thei in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 07-25-2008, 04:38 PM
  5. Replies: 3
    Last Post: 03-03-2006, 12:20 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1