<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 - Calc chart - incomplete copy paste"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=124227">124227</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Calc chart  - incomplete copy paste
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows (All)
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>minor
          </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>recordcatch@yahoo.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>This problem occurs with:

  Version: 6.1.5.2 (x64)
  Build ID: 90f8dcf33c87b3705e78202e3df5142b201bd805
  CPU threads: 8
  OS: Windows 10.0
  UI render: GL
  Locale: en-US (en_US)
  Calc: CL

I have a model worksheet with 5 columns and 20 rows as shown in the following
screenshot. The columns contain classic microeconomics average fixed cost,
average variable cost, average total cost, and marginal cost data.

<a href="https://i.stack.imgur.com/alRXQ.png">https://i.stack.imgur.com/alRXQ.png</a>

>From this data I am producing the following four charts including legends: that
is I have created four additional tabs in the worksheet containing the full
spreadsheet shown above; in each tab I am creating one of the below charts. In
each chart the first column is used for the Y axis label.

    a chart showing the single AFC curve
    a chart showing the curves for AFC and AVC
    a chart showing the curves for AFC, AVC and ATC
    a chart showing the curves for AFC, AVC, ATC, MC

Each chart in each tab is properly formed - looks good - no complaints.
However, before I get to my problem I did discover a charting improvement
opportunity. If one selects "smoothing" and "b-spline" and then the degree of
the smoothing function to apply, the smoothing is applied to every column of
data in that chart. It would be better (is necessary) under some circumstances
where curves of different degrees exist to be able to apply smoothing to
columns rather than just a whole data set. It seems to me, since the
architecture and logic already exists in Calc, that it should be easy to allow
individually applying smoothing to each column of data, rather than just
applying the same smoothing to everything in a single chart.

Back to my problem, I want to copy each of the charts (AFC, AVC, ATC, MC) from
each tab for use in presentation material. For instance, if I copy and paste
the ATC chart I get the following proper image:

<a href="https://i.stack.imgur.com/1NuwK.png">https://i.stack.imgur.com/1NuwK.png</a>

However, (yeah, it took me a long time to get here), there is a very strange
problem when I cut and paste the MC chart. To be clear, the chart in the
worksheet tab is proper. It shows the four lines and four legend entries.
However, when I copy then paste the MC chart, I get only the AFC, AVC, and ATC
lines, but I do get all four items in the legend! Don't believe me - look at
this image:

<a href="https://i.stack.imgur.com/p5dVc.png">https://i.stack.imgur.com/p5dVc.png</a>

I have tried deleting and recreating the worksheets, and charts, and rebooting
the computer in various ways, but the problem always recurs. Yes, this seems
not just unlikely, but impossible, and yet here it is. So please someone, can
you duplicate my problem? Can you tell me what I'm doing wrong?

I did finally manage a work around by separately, using the W10P sniping tool
to separately copy the chart and legend and paste them into my presentation.
However, I intend to replace the data in this model with real data, make
additional charts and include the charts in future, real world decision-making
and widely seen presentations. It would be much easier, and good LibreOffice
publicity, if LibreOffice Calc, cut, and paste worked as expected.</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>