+ Reply to Thread
Results 1 to 3 of 3

Toggling Secondary & Primary Axises

  1. #1
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Toggling Secondary & Primary Axises

    Hi all.

    I am working on a chart that displays a series collection on the 2nd axis if it is present, the code:
    Please Login or Register  to view this content.
    This worked great the first time but now all values are coming up on the 2nd axis even when the name "Composite Escalation Rate" is not present. I have a procedure dedicated to chart display but I am lost in it but here it is
    Please Login or Register  to view this content.
    The following code was an attempt to solve the problem but it did nothing
    Please Login or Register  to view this content.
    I can upload the workbook but if someone has an idea of what I am trying to accomplish through the code I have provided I would really appreciate it. I only want the one series collection to display on the right side or 2nd axis if it is present, otherwise, display everything else on the left. Any ideas?
    Last edited by Mordred; 12-21-2011 at 12:49 PM.
    If you're happy with someone's help, click that little star at the bottom left of their post to give them Reps.

    ---Keep on Coding in the Free World---

  2. #2
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: Toggling Secondary & Primary Axises

    Because my file is quite large, I'm going to supply a picture (knowing how you all love pictures ).The right side Y-Axis should be on the left side and the left side Y-Axis should be on the right if and only if the Composite Escalation Rate is a part of the chart, otherwise the right Y-Axis should not be there. This has been a struggle for me and the books that I have don't go into VBA and charting with too much detail.Axis.JPG

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

    Re: Toggling Secondary & Primary Axises

    Try using the AxisGroup setting

    Please Login or Register  to view this content.
    Cheers
    Andy
    www.andypope.info

+ 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