+ Reply to Thread
Results 1 to 8 of 8

Two Axes on Stacked Bar Chart

  1. #1
    Registered User
    Join Date
    05-11-2015
    Location
    Richmond, VA
    MS-Off Ver
    2016
    Posts
    16

    Two Axes on Stacked Bar Chart

    Attached is a project resource planning sheet. I did a fake Gantt chart using stacked bar charts. I'd like to add the resources to a secondary vertical column and am having trouble. I tried using a COMBO chart. I got the second vertical axis, but it returned numbers instead of names. Is this possible to do?

    THANKS ALL!
    Attached Files Attached Files

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Two Axes on Stacked Bar Chart

    How about adding data labels and then change the label options to Value From Cells (E5:E16)
    Attached Files Attached Files
    HTH
    Regards, Jeff

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

    Re: Two Axes on Stacked Bar Chart

    Assuming I understand what you want to do -- I want a secondary vertical category axis -- similar to the existing vertical category axis used by the stacked bar chart -- that shows the names from column E as the axis labels. Here's what I did:

    1) Select the "line" series with the desired axis labels and text values -> Change Chart type -> Change back to stacked bar.
    2) Select the same series again (it is kind of hard to select because of the 0 values, so I ended up using the dropdown list on the Format tab in my version of Excel) -> Format axis -> make sure it is still on the secondary axis system.
    3) Find the command to add the secondary vertical (actually vertical) category axis and make the secondary category axis appear. The secondary vertical axis with the names appears.
    4) Select the secondary vertical axis and format as desired ("categories in reverse order", for example).

    Will something like that work for you?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  4. #4
    Registered User
    Join Date
    05-11-2015
    Location
    Richmond, VA
    MS-Off Ver
    2016
    Posts
    16

    Re: Two Axes on Stacked Bar Chart

    I like that as a work around. Thanks!

  5. #5
    Registered User
    Join Date
    05-11-2015
    Location
    Richmond, VA
    MS-Off Ver
    2016
    Posts
    16

    Re: Two Axes on Stacked Bar Chart

    I don't see how that would work. The resource names are still coming up as 0-1.

  6. #6
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Two Axes on Stacked Bar Chart

    Not sure which post you are referring too, but we are happy to help and thanks for the feedback!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  7. #7
    Registered User
    Join Date
    05-11-2015
    Location
    Richmond, VA
    MS-Off Ver
    2016
    Posts
    16

    Re: Two Axes on Stacked Bar Chart

    Quote Originally Posted by MrShorty View Post
    Assuming I understand what you want to do -- I want a secondary vertical category axis -- similar to the existing vertical category axis used by the stacked bar chart -- that shows the names from column E as the axis labels. Here's what I did:

    1) Select the "line" series with the desired axis labels and text values -> Change Chart type -> Change back to stacked bar.
    2) Select the same series again (it is kind of hard to select because of the 0 values, so I ended up using the dropdown list on the Format tab in my version of Excel) -> Format axis -> make sure it is still on the secondary axis system.
    3) Find the command to add the secondary vertical (actually vertical) category axis and make the secondary category axis appear. The secondary vertical axis with the names appears.
    4) Select the secondary vertical axis and format as desired ("categories in reverse order", for example).

    Will something like that work for you?
    I don't see how that works. I still have the probelm of the data being 0-1 instead of the resource names

  8. #8
    Registered User
    Join Date
    05-11-2015
    Location
    Richmond, VA
    MS-Off Ver
    2016
    Posts
    16

    Re: Two Axes on Stacked Bar Chart

    Quote Originally Posted by jeffreybrown View Post
    Not sure which post you are referring too, but we are happy to help and thanks for the feedback!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    My thread is screwing up....weird.

+ 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] Ignoring chart types with no axes for finding axes title
    By gregersdk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-23-2017, 06:41 AM
  2. I am strunggling with two stacked columns with two different y axes
    By vinhbui in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 09-28-2013, 04:13 AM
  3. two stacked columns with two different y axes
    By jiansong_yu in forum Excel Charting & Pivots
    Replies: 10
    Last Post: 09-27-2013, 03:22 AM
  4. Multiple Axes on a stacked column chart
    By Ieai Aio in forum Excel General
    Replies: 1
    Last Post: 05-07-2011, 05:59 AM
  5. [SOLVED] Two-Axes, Stacked and Line Chart
    By Michael in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 12-10-2005, 01:10 PM
  6. how do I create a chart on two axes with stacked columns and line
    By ian ian ian rogers in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-20-2005, 07:06 AM
  7. [SOLVED] Create a custom chart, two stacked bars/month w/ two axes?
    By Oscar in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-21-2005, 08:06 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