Created attachment 184088 [details] Trendline on a graph where the original data was then sorted by a different column Trend Lines appear to be created from raw table data so appear as a childlike scribble if table is re-sorted (graph is correct still though). It's very artistic looking, but totally useless. This has been broken since at least version 7.3 and I think well before. I've attached an image showing a 14 point moving average on a roughly 200 datapoint bar chart style graph to demonstrate the problem. If you resort into natural order again, then the trendline is correctly drawn hence my theory that the trendline is being drawn from the original table data rather than that used for rendering the graph.
> Created attachment 184088 [details] The screenshot its OK to see what do you wrote. But, please, share the spreadsheet to test on it. Thanks. But what I can see, the chart seems to be a Column and Line chart, not a Column chart with trend line.
To be absolutely clear, this is a line chart with a moving average trend line. No you cannot have the spreadsheet, it is proprietary data. I looked at what is needed to submit a bug report, and that was not part of the information requested. I'll see if I can create a new basic spreadsheet demonstrating the behaviour instead.
Sorry - "normal column chart"
Created attachment 184097 [details] This simple spreadsheet demonstrates the problem Here is a simple spreadsheet to prove the same 'feature'. Note that the x axis column must be a series of dates to cause the bizarre issue. I tried with an incrementing sequence first and that didn't do the trick.
I've now uploaded a demonstration spreadsheet.
I repro: I clicked the Random number autofilter and sorted ascending. Already seen in 5.2 and 4.2. Arch Linux 64-bit, X11 Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 013fbfb592f71c1f0a60b6a7ec08aded375515ac CPU threads: 8; OS: Linux 6.2; UI render: default; VCL: kf5 (cairo+xcb) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: threaded Built on 9 March 2023
Dear Gareth, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
This is still happening in the following version Version: 25.2.1.2 (X86_64) / LibreOffice Community Build ID: d3abf4aee5fd705e4a92bba33a32f40bc4e56f49 CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win Locale: en-GB (en_GB); UI: en-GB Calc: CL threaded
I tried it in libreoffice 3.3: Result: 1. Trying to sort the column of data - no sort available 2. Open the chart for edit (by clicking on it), the trend line disappears. I don't think either are supported in this old version hence not an inherited bug.
(In reply to Gareth from comment #9) > I tried it in libreoffice 3.3: > > Result: > > 1. Trying to sort the column of data - no sort available > 2. Open the chart for edit (by clicking on it), the trend line disappears. > > I don't think either are supported in this old version hence not an > inherited bug. Well, lack of support then means it's not a regression, so let's remove the keyword.