Bug 76667 - Stock chart open/close position is drawn incorrectly
Summary: Stock chart open/close position is drawn incorrectly
Status: RESOLVED DUPLICATE of bug 75075
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
4.2.2.1 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-27 00:42 UTC by e325001
Modified: 2015-01-24 14:28 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Example file (18.58 KB, application/vnd.oasis.opendocument.spreadsheet)
2014-03-27 00:42 UTC, e325001
Details

Note You need to log in before you can comment on or make changes to this bug.
Description e325001 2014-03-27 00:42:24 UTC
Created attachment 96435 [details]
Example file

This is most likely related to bug #75075 but affects also LibreOffice 4.2.2 down to at least 4.1.5 (older versions not tested) and stock chart type 2.


Problem description: 
LibreOffice experiences an error in drawing the candle stock chart.
The Close positions in the chart is calculated and displayed wrong.

Steps to reproduce:
1. Open attached ods file
2. Compare chart to the table and see how:
    2.1 If open < close then open price is drawn correctly, but close price is drawn in opposite direction as it should be.
    2.2 If open > close then close price is drawn correctly, but open price is in opposite direction as it should be.
3. Change Open and Close prices in table
4. Observe how LibreOffice draws the candle chart bars in the wrong direction

Current behavior:
The lower value of open/close is drawn correctly, whereas the other one is drawn in the opposite direction as it should be.

Expected behavior:
Draw charts as given by the table data
Comment 1 e325001 2014-03-27 00:50:02 UTC
Version 4.1.5.3 is actually ok.

*** This bug has been marked as a duplicate of bug 75075 ***