+ Reply to Thread
Results 1 to 11 of 11

how to change the value of x -axis on the excel graph

  1. #1
    Registered User
    Join Date
    04-30-2008
    Posts
    2

    how to change the value of x -axis on the excel graph

    can you pls help out guys? wen i plot my excel graphs, the values of the x-axis are 1,2,3,4 not their true values. can you pls help out how to change it? thanks
    im using windows xp..
    Last edited by killa; 04-30-2008 at 01:44 AM. Reason: for clarity

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    It would help to have an example of your graph but I'm going to guess it's in your chart series. With the chart selected, go to the chart dropdown> Source Data and enter your range under the Category X Axis (e.g. = Sheet1!A2:A10)

    Did this help?

    ChemistB

  3. #3
    Registered User
    Join Date
    04-30-2008
    Posts
    2
    here is my graph.. the x-axis should have values of 0.25, 0.50, 1.0, 3.0, 6.0, 12.0, 18.0 respectively. how do change the x-axis values to show their real values.. thanks....
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    Click on the graph. Go to Chart>Source Data>
    Put your cursor in Catagory X Labels box and then highlight the cells you want to be your x axis.

    ChemistB

  5. #5
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,431
    And if you want to chart the x values as real values rather than categories you will need to change the chart type to xy-scatter.
    This will then alter the values displayed on the axis to those specified by the Major Unit value. So if you want true x values AND those specific data points on the axis you will need to fake the axis using a dummy series.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    02-11-2013
    Location
    Ashland MA
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: how to change the value of x -axis on the excel graph

    I don't find Chart/Source anywhere, and when I click on Data all of the icons are inactive.

    Quote Originally Posted by ChemistB View Post
    Click on the graph. Go to Chart>Source Data>
    Put your cursor in Catagory X Labels box and then highlight the cells you want to be your x axis.

    ChemistB

  7. #7
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: how to change the value of x -axis on the excel graph

    That was for Excel 2000 or 2003,

    For 2007, 2010, When you click on the chart, 3 new tabs are added to your Ribbon under the topic of "Chart Tools". They are "Design", "Layout", and "Format". Under "Design" is the option to "Select Data"
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  8. #8
    Registered User
    Join Date
    06-03-2013
    Location
    NYC
    MS-Off Ver
    Excel 2008 Mac
    Posts
    4

    Re: how to change the value of x -axis on the excel graph

    I have two X-Y scatter plots that I need to compare and therefore, the x-axis (and y-axis) values need to be the same. I need three graphs, one each of the two regions and one combining all of it together. I've included the excel file for review and if someone could tell me how to achieve this, I would greatly appreciate as I anticipate this becoming a frequent problem. In the file, the graphs in question can be found on the last three tabs to the right. One tab is for Veneto, one for Lombardia, and the other for both combined. Thanks!

    Forgot to mention, ideally I need the x-axis value to go from 60% to 110% and the y-axis from 0% to 14% but because my data involve numbers to the second decimal point, I'd also like to know if there is a way to change the icons used in the legend to a much smaller bullet point type of symbol. Some of my measurements are 0.02 or 0.04 or 0.08 and on the graph, these appear all lumped together at 0%. While seemingly insignificant, I need the graph to visually differentiate from these as much as possible. Thanks!
    Attached Files Attached Files
    Last edited by MiRoNYC; 06-03-2013 at 01:35 PM.

  9. #9
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: how to change the value of x -axis on the excel graph

    MiRoNYC,

    Unfortunately you need to post your question in a new thread, it's against the forum rules to post a question in the thread of another user. If you create your own thread, any advice will be tailored to your situation so you should include a description of what you've done and are trying to do. Also, if you feel that this thread is particularly relevant to what you are trying to do, you can surely include a link to it in your new thread.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  10. #10
    Registered User
    Join Date
    06-03-2013
    Location
    NYC
    MS-Off Ver
    Excel 2008 Mac
    Posts
    4

    Re: how to change the value of x -axis on the excel graph

    Done, how do I delete my post above?

  11. #11
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: how to change the value of x -axis on the excel graph

    Dont worry about it. You do not need to delete it.

+ 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