+ Reply to Thread
Results 1 to 5 of 5

xlXYScatterLines and xlXYScatter data in the same chart?

  1. #1
    Registered User
    Join Date
    06-11-2012
    Location
    canada
    MS-Off Ver
    Excel 2007
    Posts
    3

    xlXYScatterLines and xlXYScatter data in the same chart?

    Hi everyone, I have 2 sets of data that I'm trying to display on the same chart. The first set has to be xlXYScatterLines data, which means there's a line between all my data points. However, I haven't found a way to display my 2nd data values without lines between my markers. Is there a way to do what I want?

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

    Re: xlXYScatterLines and xlXYScatter data in the same chart?

    If you are talking about the formatting of the series then either,
    select the series and set the Line color to No Line Or select the series and change the chart type.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    06-11-2012
    Location
    canada
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: xlXYScatterLines and xlXYScatter data in the same chart?

    That's exactly what I want to do, but I can't find the required code to do it. I tried recording a macro while setting the line color to "No Line" on a data series, but the code doesn't show up somehow.

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

    Re: xlXYScatterLines and xlXYScatter data in the same chart?

    You may need to change the SeriesCollection index value, depending on what series you want to remove the line from.

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    06-11-2012
    Location
    canada
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: xlXYScatterLines and xlXYScatter data in the same chart?

    Thanks so much! You even guessed the SeriesCollection correctly :P

+ 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