+ Reply to Thread
Results 1 to 2 of 2

Make the y axis match when graphing two sets of data

  1. #1
    Registered User
    Join Date
    11-07-2017
    Location
    denmark
    MS-Off Ver
    2016
    Posts
    1

    Make the y axis match when graphing two sets of data

    Hey guys, im a total excel newb, but i just started a job where they're requiring me to make some graphs every once in a while, and im having some small problems with the latest one. I have a bar graph showing these employee numbers in regards to their competency levels, and i have to create a filled in triangular area at the base that shows the recommended amount of employees for each level. (fx. one employee at 5, two at 4 and so on...) My first problem is that i can see that the y axis for the "area" graph i used to make the triangle doesnt match the y axis for the bar graph, so it doesnt really line up. The second, mostly visual thing, is that i would love for the area graph i created to sit flush with the bar graph on the left side. It looks damn ugly with that big gap in between where the bars start and where the area starts. Any ideas? Thanks in advance.

    -Dylan

    Screen Shot 2017-11-07 at 7.41.32 PM.png

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,827

    Re: Make the y axis match when graphing two sets of data

    You need to get used to the way that Excel matches the "category" axis for the bar chart (the left vertical axis) and the numeric axis (the right vertical axis). Typically, each category increments by 1 along the numeric axis, where n.5 is the division between categories. With that in mind, I would first try formatting the right vertical axis so that it's min is 0.5 and its max is 5.5.

    Adjusting the area chart will be a little different. It is difficult to see from the picture exactly what you are using for the category/x data for the area chart. First thing I would do, because I expect to need to adjust the secondary horizontal axis separate from the primary horizontal axis, would be to add the secondary horizontal axis. Then I would look at the formatting on the secondary horizontal axis and see if it is using a text/category axis or a date axis. I would also make sure that I am using numeric data for the x axis data for this data series. If the secondary horizontal axis is defaulting to a text category axis, force it to be a date axis, then select appropriate min and max values for this axis. When all is said and done, I expect you won't want to see the secondary horizontal axis, so I would "hide" it by formatting it with no line, no tick marks, no labels, etc.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ 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. How To Compare Two Sets Of Similar Data Sets To Find a Good Match
    By Mark123456789 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-24-2016, 01:29 AM
  2. Line types for graphing large data sets
    By magnerirish in forum Excel General
    Replies: 1
    Last Post: 12-15-2015, 04:38 PM
  3. Graphing two sets of data on one graph in VBA-excel
    By vjrind in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-20-2014, 01:46 AM
  4. Graphing two data sets
    By unitedpath84 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-15-2012, 03:24 PM
  5. graphing three different data sets onto one chart
    By chavez000 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 08-21-2009, 03:50 PM
  6. graphing two sets of data on same graph
    By mufan in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-23-2008, 07:24 AM
  7. Question about graphing four sets of data
    By RawlinsCross in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-04-2006, 08:36 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