+ Reply to Thread
Results 1 to 5 of 5

Drawing line chart with irregular time periods

  1. #1
    Registered User
    Join Date
    07-09-2008
    Location
    London
    Posts
    8

    Drawing line chart with irregular time periods

    I am trying to draw a yield curve but I do not have data from regular time periods. So lets say I have data for 1 Month, 3 Month, 6 Month, 1 Year, 2 Year and 3 Year. How can I make the X-axis proportional to the time period? If I use the standard line chart, there is no difference in the space between 1Month to 3 Months or 1 Year and 2 Year.

    Appreciate any help. Thanks!

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967
    Use a scatter graph selecting the option which joins adjacent pairs of values together.
    Martin

  3. #3
    Registered User
    Join Date
    07-09-2008
    Location
    London
    Posts
    8
    Hi Martin,
    Thanks for your reply. I have tried doing that but the x-axis label is not what I want. However, if I use number of months for the x-axis, it works, but I would prefer it if the x-axis label shows 3M, 6M, 1Y, 2Y, 3Y etc instead of 3, 6, 12, 24 etc. Do you know how I can do this?
    Thanks again.
    Attached Files Attached Files

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434
    You need to use another series to plot dummy axis labels.
    The extra series has the same X value but all Y values are zero.

    You then use data labels to display the text.
    You can link data labels to cells using this free addin.
    http://www.appspro.com/Utilities/ChartLabeler.htm
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

  5. #5
    Registered User
    Join Date
    07-09-2008
    Location
    London
    Posts
    8
    Okay got it. Thanks so much.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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