+ Reply to Thread
Results 1 to 8 of 8

Extending target line across entire chart

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    08-18-2004
    Posts
    108

    Extending target line across entire chart

    Hello,

    I have an excel 2007 chart (attached) that has multiple target lines (green and red lines in the chart). Is there an easy way to have them span the length of the chart, as opposed to starting and stopping on the x axis ticks? I've searched but every suggestion seems to reference the "axis crosses between categories" option which I'm not seeing in excel 2007.

    Thanks...
    Attached Files Attached Files

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Extending target line across entire chart

    You could add a linear trendline to those series and extend it forward and back 1/2 period.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Contributor
    Join Date
    08-18-2004
    Posts
    108

    Re: Extending target line across entire chart

    Quote Originally Posted by shg View Post
    You could add a linear trendline to those series and extend it forward and back 1/2 period.
    thanks, i should have mentioned that the targets will change at some point so a linear trend line won't be able to show the new+ old targets in one line (see new attachment)
    Attached Files Attached Files

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Extending target line across entire chart

    Or right-click the axis, Format Axis > Axis Options, tick Position Axis: On tick marks

  5. #5
    Forum Contributor
    Join Date
    08-18-2004
    Posts
    108

    Re: Extending target line across entire chart

    hmmm...that workaround would do, but unfortunately as soon as I add data labels, they are all overlapping the charts borders because of that change.

    I could have sworn there was a different way to only extend the target lines themselves by using a secondary axis, but I can't see how to do it with this data I have (since I already have 2 axis used).

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

    Re: Extending target line across entire chart

    The target lines are xy-scatter lines so you can use appropriate values to draw the lines from the edges
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

  7. #7
    Forum Contributor
    Join Date
    08-18-2004
    Posts
    108

    Re: Extending target line across entire chart

    that works great. thanks!
    Last edited by kmfdm515; 05-10-2011 at 01:21 PM.

  8. #8
    Forum Contributor
    Join Date
    08-18-2004
    Posts
    108

    Re: Extending target line across entire chart

    n/m...figured it out.

+ 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