Bug 79875 - UI: Line chart rendering changes when there are more than 1000 points
Summary: UI: Line chart rendering changes when there are more than 1000 points
Status: CLOSED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.2.4.2 release
Hardware: Other Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-10 11:00 UTC by John Lane
Modified: 2014-06-17 13:11 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
example spreadsheet and chart (66.26 KB, application/vnd.oasis.opendocument.spreadsheet)
2014-06-10 11:00 UTC, John Lane
Details
screen capture showing correctly renderd chart with 1000 points (152.38 KB, image/png)
2014-06-10 11:01 UTC, John Lane
Details
screen capture showing incorrectly renderd chart with 1001 points (152.96 KB, image/png)
2014-06-10 11:02 UTC, John Lane
Details
Revised spreadsheet example (66.26 KB, application/vnd.oasis.opendocument.spreadsheet)
2014-06-16 16:58 UTC, John Lane
Details
Revised spreadsheet example (178.28 KB, application/vnd.oasis.opendocument.spreadsheet)
2014-06-16 17:00 UTC, John Lane
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Lane 2014-06-10 11:00:18 UTC
Created attachment 100798 [details]
example spreadsheet and chart

A line chart renders differently when there are more than 1000 points. At each point the line appears to thin out and while the line between points appears thicker. With 1000 or fewer points the line thickness is uniform throughout.

Steps to reproduce:
1. Open the attached file "line-chart.ods"
2. See that the rendered chart looks like attached file "1000-points.png"
3. Right-click the chart, select "Edit"
4. Right-click the chart again, select "Data Ranges"
5. Change the range from "$Sheet1.$A$1:$B$1001" to "$Sheet1.$A$1:$B$1002" (i.e. just change the rightmost character from 1 to 2). Press OK.
6. See that the rendered chart now looks like attached file "1001-points.png"

Current behavior: the way the line is drawn changes

Expected behavior: the way the line is drawn should stay the same

              
Operating System: Linux (Other)
Version: 4.2.2.1 release
Comment 1 John Lane 2014-06-10 11:01:55 UTC
Created attachment 100801 [details]
screen capture showing correctly renderd chart with 1000 points
Comment 2 John Lane 2014-06-10 11:02:44 UTC
Created attachment 100802 [details]
screen capture showing incorrectly renderd chart with 1001 points
Comment 3 Kevin Suo 2014-06-16 01:49:00 UTC
Just for information, I do not reproduce in Windows XP SP3, LibreOffice 4.2.5.1 and 4.3.0.0 beta2. When change the data range to "$Sheet1.$A$1:$B$1002", the chart rendering remains the same.
Comment 4 Jacques Guilleron 2014-06-16 12:39:46 UTC
Hello John,

I cannot reproduce with LO 4.2.4.2 under Windows 7 Home Premium. Rendering stay the same with or without range change.
I have already seen this rendering in 
Bug 73129 - Tesselation issues with Line Chart (linux only). 
Can you see it?

Thank you,

Jacques
Comment 5 John Lane 2014-06-16 13:18:47 UTC
Hello Jacques, I have just updated my version to 4.2.4 - the latest offered by the ArchLinux repositories. It has the same issue. I have also tried the referenced bug and confirm that I see the same problem there too. I would say it is the same bug.

In fact, if you take the other example and reduce the data range to less than 1000 points, the problem goes away on that one too.

I don't run Windows anywhere so I am unable to do a comparison.
Comment 6 John Lane 2014-06-16 13:20:29 UTC
Sorry, I meant to say version 4.2.4.2 in my previous post.
Comment 7 Kevin Suo 2014-06-16 13:32:42 UTC
(In reply to comment #3)

And I do not reproduce under Ubuntu 14.04 X86, with version 4.2.5.2 and 4.3.0.0 beta2.
@ John Lane: maybe you could try the latest 4.2.5.2 version? (I am not sure how to install the RC version of LibreOffice in Archlinux, maybe AUR can do it?)
Maybe this has already been fixed someone in 4.2.5.
Comment 8 John Lane 2014-06-16 16:57:07 UTC
I just tried libreoffice-fresh which is right there in the repos on Arch and installs Version: 4.3.0.0.beta2. 

It would appear that the bug that I raised is resolved in this version. 

However, I also tried the spreadsheet example on the other bug report and that still has the same behaviour with this later version of Libreoffice.

The difference between that example and mine, I thought, was the use to two series, real numbers and negative numbers. I changed my example to have these, as well as extending to over 3000 points. However, it works as one would expect.

So, I don't know what's different with the other example but, for my example at least, the problem has gone away with the 4.3.0.0.beta2 version.
Comment 9 John Lane 2014-06-16 16:58:15 UTC
Created attachment 101182 [details]
Revised spreadsheet example
Comment 10 John Lane 2014-06-16 17:00:46 UTC
Created attachment 101183 [details]
Revised spreadsheet example
Comment 11 Jacques Guilleron 2014-06-17 11:53:25 UTC
Hello John,

Thanks for your added work.
However, this should be nice to move it to Bug 73129 and, since the issue was solved by a recent release, this report can be closed as WORKSFORME.


Regards,

Jacques