+ Reply to Thread
Results 1 to 13 of 13

Aligning X,Y Scatter Markers with Column Centers

  1. #1
    Registered User
    Join Date
    10-30-2020
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    8

    Aligning X,Y Scatter Markers with Column Centers

    Hi and a very Happy New Year to everyone.

    We're using MS 365 on a subscription for now, running on Windows 10. I do have two questions at the moment: 1) Aligning markers and 2) How to get Excel to autoupdate changes via a cloud or the Windows cloud (OneDrive, I think it's called). New to clouds and newish to Excel so if I should separate these questions, just let me know.

    In the attached .xlsx file, the white scatter chart with a blue line is the new effort to get line chart markers to snap to the center of the columns each marker represents. The violet chart, to the side, is my first effort, moved there to make room.

    My son has diabetes insipidus from a brain tumor and his daily fluid intake and output have to be critically monitored. The line charts (I also need to add a series (on the white scatter chart) to indicate his urine output so fluid in and fluids out can be compared side by side for quick reference) are used in conjunction with lab results (for one) and it helps to have all the chart markers line up with the center of each column for that day's data so we can correlate fluid excess/deficit with lab results.

    Thanks in advance,

    Mike and Sean
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Aligning X,Y Scatter Markers with Column Centers

    Welcome to the forum.

    Your forum profile needs to show your Excel version (365), please, not your Windows version, which is of little use to us. Thanks fir updating it ASAP.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    10-30-2020
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    8

    Re: Aligning X,Y Scatter Markers with Column Centers

    Thanks Ali - done.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Aligning X,Y Scatter Markers with Column Centers

    The cloud question needs a separate thread in the Office 365 subsection of the forum, please. The chart issue will be looked at here.

  5. #5
    Registered User
    Join Date
    10-30-2020
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    8

    Re: Aligning X,Y Scatter Markers with Column Centers

    Thanks Ali.

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,567

    Re: Aligning X,Y Scatter Markers with Column Centers

    If I understand question #1 correctly then I believe that changing the chart type from scatter to line with markers will do what you want (place the markers in the center of each column).
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  7. #7
    Registered User
    Join Date
    10-30-2020
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    8

    Re: Aligning X,Y Scatter Markers with Column Centers

    Hi JeteMc - thanks for this. I started out with Line and after a few months of trying to find a way to align the markers, I switched to Scatter - both types appear to display the same disconnectedness of the marker to the column. Still looking though.

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

    Re: Aligning X,Y Scatter Markers with Column Centers

    I cannot look at your sample file, so I'm not sure I understand exactly what you are trying to do, but your question reminds me of this tutorial from Jon Peltier: https://peltiertech.com/Excel/Charts...olAndLine.html I expect that understanding the two methods that Jon uses for creating a combination clustered column/clustered line will help you resolve the issue in your sheet.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  9. #9
    Registered User
    Join Date
    10-30-2020
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    8

    Re: Aligning X,Y Scatter Markers with Column Centers

    Hi MrShorty - Sorry for the delayed response - full plate recently. I've printed the tutorial and I'll work through it and get back to you asap - it make take a couple of days. It'll be good to make some progress here. Thanks so much!

  10. #10
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,567

    Re: Aligning X,Y Scatter Markers with Column Centers

    Giving this a bit more consideration, I have begun to feel that you want to align the markers in the chart with the columns in the spreadsheet as opposed to columns or vertical gridlines in the chart.
    As in you would like the marker for November 1 to align with column B and the marker for November 30 to align with column AE is that correct?

  11. #11
    Registered User
    Join Date
    10-30-2020
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    8

    Re: Aligning X,Y Scatter Markers with Column Centers

    Hi JeteMc - I believe that's it, yes. Each column is one day's data. The line/scatter charts markers should reflect the specified data input for that day - centered in the day's column.

  12. #12
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,567

    Re: Aligning X,Y Scatter Markers with Column Centers

    Perhaps the following as modeled in the attached file:
    1. Remade the November chart so that the vertical axis is on the left side
    2. Widened column A to match the leftmost horizontal gridline of the chart
    3. Inserted a new column AF
    4. Set the column widths of columns B:AE to 10
    Let us know if you have any questions.

  13. #13
    Registered User
    Join Date
    10-30-2020
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    8

    Re: Aligning X,Y Scatter Markers with Column Centers

    JeteMc - this appears to be exactly my intent. Thank you! Very busy today and just saw your post - I'll try to better understand what you did tomorrow morning (things're hectic these days). I want to be sure I understand so I can carry the modeling forward to new tables but I think this is going to work. Thank you again.

+ 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. Replies: 0
    Last Post: 09-27-2019, 09:59 PM
  2. Excel scatter chart - markers
    By Prue in forum Excel Charting & Pivots
    Replies: 17
    Last Post: 10-01-2015, 09:30 AM
  3. [SOLVED] is it possible to use pictures in markers of XY scatter?
    By bagullo in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-17-2013, 11:12 AM
  4. VBA code to format scatter markers
    By ctriboy in forum Excel General
    Replies: 5
    Last Post: 03-09-2012, 12:03 PM
  5. can I change data markers to numbers in a scatter chart?
    By treez in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-13-2006, 06:00 AM
  6. make all markers the same in a scatter plot
    By XXBEXX in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 02-22-2006, 07:10 PM
  7. [SOLVED] XY Scatter Legend when Edit Individual Markers
    By John in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 06-13-2005, 11:05 AM

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