This problem occurs with:
Version: 184.108.40.206 (x64)
Build ID: 90f8dcf33c87b3705e78202e3df5142b201bd805
CPU threads: 8
OS: Windows 10.0
UI render: GL
Locale: en-US (en_US)
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.
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:
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:
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.
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug.
(Please note that the attachment will be public, remove any sensitive information before attaching it.
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provide
I included document links in my report: 1st contains the spreadsheet data; second contains a chart of 3 columns; third contains the bug where I'm graphing 4 columns of data and get 4 legends but only three columns are graphed. If those links aren't sufficient do you want 1 attachment containing the 3 exhibits or do you want 3 separate attachments?
(In reply to Jim from comment #2)
> I included document links in my report: 1st contains the spreadsheet data;
> second contains a chart of 3 columns; third contains the bug where I'm
> graphing 4 columns of data and get 4 legends but only three columns are
> graphed. If those links aren't sufficient do you want 1 attachment
> containing the 3 exhibits or do you want 3 separate attachments?
Those are images, not documents. Please attached the document.
Created attachment 150144 [details]
spreadsheet with inserted chart
see next attachment for copy/paste problem
Created attachment 150145 [details]
improper image image resulting from copy paste
1. Open attachment 150144 [details]
2. Copy the chart and paste to a new Impress presentation
The pasted result should have all the lines, but since 4.2 some are missing.
Bibisected with 42max to range: https://gerrit.libreoffice.org/plugins/gitiles/core/+log/c7bdee8dbd1cf260a8513a0d31b36f90daa70f1c..ec0080c40cfdb26896537f47a4c2e0439f9afdb1
which has lots of Calc commits.