<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Scatter plot with all X values set to NA switch to line plot"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=114274">114274</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Scatter plot with all X values set to NA switch to line plot
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>5.4.3.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Calc
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>killerrex@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
I have sheet with a column than can change to #N/A to remove lines from certain
plots.

In an scatter plot if that column is the Y values the line disappears as
expected, but if it is the X values, the plot change to a line plot (like the X
coordinates are 1, 2, 3...)
Notice that if the X values are empty this is not happening.

In Excel 2010 and newer this behavior is not happening: In a scatter plot a
line with all the X values set to #N/A is not plotted.


Steps to Reproduce:
1. Create a scatter plot with the Y set to valid values.
2. Set all the X to NA()


Actual Results:  
The line is then plotted as the X values are 1, 2, 3...

Expected Results:
The line is not plotted


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
The expected result is the Excel behaviour.

Version: 5.4.3.2 (x64)
Build ID: 92a7159f7e4af62137622921e809f8546db437e5
CPU threads: 4; OS: Windows 6.1; UI render: default; 
Locale: en-GB (en_GB); Calc: CL


User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/60.0.3112.113 Safari/537.36</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>