Bug 80540

Summary: VIEWING: Stock chart does not display correctly
Product: LibreOffice Reporter: Rinus van Weert <mjmvanweert>
Component: ChartAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED FIXED    
Severity: major CC: cno, jmadero.dev, raal
Priority: high Keywords: bibisectRequest, regression
Version: 4.2.4.2 release   
Hardware: Other   
OS: Linux (All)   
Whiteboard: BSA
Crash report or crash signature: Regression By:
Attachments: Attached is one of the stock charts in my spreadsheet, exported as picture
Sample Stock Chart (expected)
a (exported) picture of the BIDU-STOCK-PRICE example

Description Rinus van Weert 2014-06-25 22:16:07 UTC
Created attachment 101775 [details]
Attached is one of the stock charts in my spreadsheet, exported as picture

Problem description: 
The attached stock chart (type4) shows the problem clearly. The red and yellow sticks are misplaced in relation to the thin lines. They should be positioned over these thin lines, but are placed to the right and downwards.

Steps to reproduce:
1. ....
2. ....
3. ....

Current behavior:

Expected behavior:

              
Operating System: Linux (Other)
Version: 4.2.4.2 release
Comment 1 Kevin Suo 2014-06-26 02:25:24 UTC
Created attachment 101778 [details]
Sample Stock Chart (expected)

Hi Rinus van Weert, I do not reproduce in version 4.3.0.1, the candle is exactly above the volumn bar.

I guess the most possible reason for your chart is wrong data range difination. Would you please check the data range of you chart, create another chart from scratch, or try again with verion 4.3.0 RC1?

Thanks
Comment 2 Rinus van Weert 2014-06-26 08:35:02 UTC
Created attachment 101788 [details]
a (exported) picture of the BIDU-STOCK-PRICE example

As shown in the attachment the example BIDU-STOCK_PRICE.ods shows the same behavior in Calc 4.2.4.2. I tried version 4.2.5, but the results were the same.

Unfortunately there is version 4.3.0 for Linux Mint/Ubuntu, so I'm not able to try that version yet on my system.
Comment 3 Rinus van Weert 2014-06-26 08:38:12 UTC
I meant to say there is NO 4.3.0 version for Linux Mint/Ubuntu (deb version)
Comment 4 ign_christian 2014-06-27 07:50:57 UTC
Hi Rinus, you can get latest deb package in official LibreOffice site:
http://www.libreoffice.org/download/libreoffice-fresh/?version=4.3.0

Have you tried resetting user profile?

Just checked with 4.0.4.2 in Kubuntu 12.04 x86, no problem. I'll check with other versions later
Comment 5 ign_christian 2014-06-27 13:43:26 UTC
Confirmed. Wrong result in 4.2.5.2 (Ubuntu 12.04), same result with screenshot in comment 2. 

Not reproduced in 4.1.6.2.

Don't know with 4.3.0.2 ?
Comment 6 Rinus van Weert 2014-06-28 12:24:16 UTC
I can confirm that the bug is absent in version 4.3.0.1. My own stock charts look as it should be. Apparently the bug was in version 4.2.5.2 only?
For the time being I will use version 4.3.
Thanks!
Comment 7 Markus Mohrhard 2014-07-02 22:28:58 UTC
I fixed that at some point but don't remeber if I backported it to 4-2.
Comment 8 Kohei Yoshida 2014-09-19 19:21:41 UTC
Please check this against the latest version on the 4.3 branch, and if it's fixed there, let's just mark this fixed for 4.3.
Comment 9 raal 2014-10-12 15:02:44 UTC
Tested with Version: 4.3.4.0.0+ Build ID: afd19a5ee99b1855bc2c2a48a29d2da16be883d1. Chart is correct, marking as fixed as Kohei suggested.
Comment 10 Cor Nouws 2014-11-01 11:11:57 UTC
Is OK in 4.3.3.2 too (and maybe earlier - didn't check that)
Comment 11 Robinson Tryon (qubit) 2015-12-17 08:24:31 UTC
Migrating Whiteboard tags to Keywords: (bibisectRequest)
[NinjaEdit]