+ Reply to Thread
Results 1 to 6 of 6

Chart scatter points not plotted in correct position

  1. #1
    Registered User
    Join Date
    04-03-2020
    Location
    Livingston, Scotland
    MS-Off Ver
    2002
    Posts
    14

    Chart scatter points not plotted in correct position

    I'm creating a scatter chart with labels.

    I don't understand why the labels are not coming out in the correct location.

    I have selected the correct columns for the data.

    In the attached example the X location is correct, the Y value is wrong.

    Can you help.

    Thank you
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    04-03-2020
    Location
    Livingston, Scotland
    MS-Off Ver
    2002
    Posts
    14

    Re: Chart scatter points not plotted in correct position

    I found if I replaced the '-' fields with '0' then the labels came in the correct position.

    But is there a way to do this keeping the "-" fields?
    i

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

    Re: Chart scatter points not plotted in correct position

    After working out the "x" and "y" confusion (standard convention is for x to be horizontal and y to be vertical, but your x is vertical), I notice that your source data contains several text "-" entries. In an Excel scatter chart, if there is any text in the horizontal "xvalues" range, Excel will ignore all of the numbers and use count numbers for the horizontal x values. The fix is to get rid of those text strings so that they are either truly blank (select and press delete) or contain something that Excel will ignore (usually the N/A error).
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

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

    Re: Chart scatter points not plotted in correct position

    I see you figured that out. To my knowledge, there is no way (in Excel) to retain the "-" text strings in the chart source data. In Excel, you would need to create a "copy" of the source data that replaces the "-" with blank or N/A.

    Are you required to be compatible with Excel? I have observed that other spreadsheets (like LO calc) do better at ignoring text in a chart source data. If I open your file in LO calc, the markers are correct without any modification. The data labels were "broken", but I was able to fix that by deleting the data series and redefining it.

  5. #5
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,430

    Re: Chart scatter points not plotted in correct position

    If you are just concerned with how the data table looks, you can use a custom format so that a 0 appears as "-".

    0.000;0.000;"-";_(@_)

  6. #6
    Registered User
    Join Date
    04-03-2020
    Location
    Livingston, Scotland
    MS-Off Ver
    2002
    Posts
    14

    Re: Chart scatter points not plotted in correct position

    Thanks for your help. I changed "-" to "".

+ 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: 5
    Last Post: 11-28-2017, 02:00 PM
  2. Filter Data to Show Plotted Points in Chart
    By janeml in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-26-2014, 07:17 PM
  3. [SOLVED] overlapped points in X-Y scatter chart
    By mahmoodn in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 11-03-2013, 06:53 AM
  4. Chart - finding the position of the line on a scatter plot
    By shamedt in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 07-08-2011, 02:16 PM
  5. [SOLVED] How to return the address of the range of plotted data on an XY scatter chart?
    By Ken Johnson in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 07-04-2006, 07:45 AM
  6. Scatter chart with columns instead of points
    By Bill_S in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 10-07-2005, 12:05 AM
  7. [SOLVED] Data Points in Scatter Chart
    By CWILSON in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 01-26-2005, 10:07 PM

Tags for this Thread

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