+ Reply to Thread
Results 1 to 5 of 5

How to set starting value for x-axis for a chart which starts in the middle of y-axis?

  1. #1
    Registered User
    Join Date
    03-12-2015
    Location
    magdeburg england
    MS-Off Ver
    MS Office 2010
    Posts
    3

    How to set starting value for x-axis for a chart which starts in the middle of y-axis?

    Hello!

    I am using area charts to visualize the area between 5%-quantile and 95% quantil. This area chart has to start in year 2011 (y-axis) but the whole y-axis goes from 1971 to 2099.
    I'm having a problem which you can see in this picture (red box): http://www.fotos-hochladen.net/view/fragezpm84dvagy.jpg

    As you can see, it seems that the area chart is starting at value 0 and then goes to the value of year 2011. The result is that the begin of the area on the left side seems to look oblique. What can I do to eliminate this problem?

    Thank you in advance!
    foxx

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

    Re: How to set starting value for x-axis for a chart which starts in the middle of y-axis?

    You need to include 2 entries for the period where the area starts to get a clean vertical line rather than one starting from zero.
    move the areas to the secondary axis
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    03-12-2015
    Location
    magdeburg england
    MS-Off Ver
    MS Office 2010
    Posts
    3

    Re: How to set starting value for x-axis for a chart which starts in the middle of y-axis?

    Thank you for your answer

    Right now I dont know how to this. I have added my excel file as attachment. When I do it your way, my diagramm gets distorted in different directions :D

    Think will need some more help
    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,481

    Re: How to set starting value for x-axis for a chart which starts in the middle of y-axis?

    First your years are not dates but just numbers. So change the values to be used on the secondary axis.

    You need to move the 2 area series to the secondary axis. The set the secondary axis labels range via the select data dialog.
    Finally set the secondary axis to Date type
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-12-2015
    Location
    magdeburg england
    MS-Off Ver
    MS Office 2010
    Posts
    3

    Re: How to set starting value for x-axis for a chart which starts in the middle of y-axis?

    Ah, I understand now. Thank you very much, Andy!

+ 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. [SOLVED] Chart is not formatting axis to Min - Max range it is starting al the way at zero
    By bdouglas1011 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-04-2014, 10:40 PM
  2. Replies: 2
    Last Post: 02-07-2014, 12:18 PM
  3. Graphing Dynamic Named Ranges, starting one range in the middle of X-Axis
    By Packerbacker in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 09-11-2013, 07:21 AM
  4. x axis labels/scale move to middle of chart w/neg & pos line cht
    By rak in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  5. [SOLVED] Y-axis tick marks in middle of chart?
    By Ed in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 05-26-2005, 05:15 PM

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