+ Reply to Thread
Results 1 to 8 of 8

How to plot data on a secondary axis and show the two data series side by side

  1. #1
    Valued Forum Contributor
    Join Date
    09-09-2009
    Location
    Liverpool, England
    MS-Off Ver
    W: 2021 H: 365
    Posts
    940

    How to plot data on a secondary axis and show the two data series side by side

    Hi,

    I thought this would be easy or at least possible to figure out but i'm struggling. How can I split the data to show them as two bar charts side by side? I can add the secondary axis but the plotted data overlaps each other.

    Example attached.

    Thanks,

    Snook
    Attached Files Attached Files
    Last edited by The_Snook; 02-27-2013 at 12:48 PM.

  2. #2
    Forum Contributor
    Join Date
    09-13-2011
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    216

    Re: How to plot data on a secondary axis and show the two data series side by side

    Hi The Snook

    I would recommend adding adding a few rows in your data.

    Then after you move one series to the 2nd axis, increase the gap of that series to about 250%

    Double Axis Bar Chart Query.xlsx

    Let me know if this helps

    Steve=True

  3. #3
    Valued Forum Contributor
    Join Date
    09-09-2009
    Location
    Liverpool, England
    MS-Off Ver
    W: 2021 H: 365
    Posts
    940

    Re: How to plot data on a secondary axis and show the two data series side by side

    Cheers Steve=True

    It sort of works but not quite what i'm after. Why are the bars different widths and why do they overlap to varying degrees?

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

    Re: How to plot data on a secondary axis and show the two data series side by side

    You need 2 series to hold the position of right and left columns in the cluster.
    Move both the Left Pad and data to the secondary axis and then there is no need to adjust overlap.
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

  5. #5
    Valued Forum Contributor
    Join Date
    09-09-2009
    Location
    Liverpool, England
    MS-Off Ver
    W: 2021 H: 365
    Posts
    940

    Re: How to plot data on a secondary axis and show the two data series side by side

    Thanks, that's exactly what i'm after!

    What's the best way to remove/hide the PadRight and PadLeft from the legend?

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

    Re: How to plot data on a secondary axis and show the two data series side by side

    select each individually legend entry and delete

  7. #7
    Valued Forum Contributor
    Join Date
    09-09-2009
    Location
    Liverpool, England
    MS-Off Ver
    W: 2021 H: 365
    Posts
    940

    Re: How to plot data on a secondary axis and show the two data series side by side

    Simples!

    Cheers Andy!

  8. #8
    Forum Contributor
    Join Date
    09-13-2011
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    216

    Re: How to plot data on a secondary axis and show the two data series side by side

    Thanks Andy,

    I was so close

    Steve=True

+ 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