Issue 67321 - in XY charts, Y axis vanishes for certain data
Summary: in XY charts, Y axis vanishes for certain data
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: kla
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-13 12:51 UTC by sanders_muc
Modified: 2013-02-24 21:22 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Testcase: Spreadsheet with the mentioned data and an XY chart, which displays without Y axis (12.35 KB, application/vnd.sun.xml.calc)
2006-07-13 12:52 UTC, sanders_muc
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description sanders_muc 2006-07-13 12:51:00 UTC
In this odd bug, the Y axis of an XY chart is not displayed or keeps vanishing
after each change. Thre bug occurs only for certain data in the X column.

Steps to reproduce:

1. Open an empty spreadsheet.

2. Enter the following data in the first two columns:

   0.850	23
   0.920	12
   0.970	13
   0.990	12
   0.997	15
   0.999	17
   1.000	13
   1.001	15
   1.003	16
   1.010	12
   1.030	11
   1.080	9
   1.150	11

3. Select the data, and choose "Insert"|"Chart" from the menu. In the wizard,
select "XY chart" and leave everything else at the defaults.

4. Notice, that the plot appears without Y axis.

5. Click on the chart, select "Insert"|"Axes" from the menu, check "Y axis" and
click "Ok". The Y axis appears.

6. Make any change, e.g. change some data in the second column. The Y axis
vanishes again.

The bug seems to depend peculiarily on the data in the first (X) column. If I
use very different values, the bug does not appear.
Comment 1 sanders_muc 2006-07-13 12:52:37 UTC
Created attachment 37743 [details]
Testcase: Spreadsheet with the mentioned data and an XY chart, which displays without Y axis
Comment 2 frank 2006-07-13 13:59:54 UTC
Wrong component, re-assigned to owner of Chart Issues
Comment 3 kla 2006-07-13 15:04:17 UTC
Hi Björn,
pls have a look.
Comment 4 bjoern.milcke 2006-07-14 10:12:20 UTC
Woha! This is a really, really strange bug!

The axis is indeed not there. And when you enable it, next time you activate the
chart it vanishes again. Also, the automatic scaling does not work. The first
y-value (23) is missing in the maximum-calculation.

As this strange bug does not appear in the new chart implementtion, I would
suggest not to fix in the old chart code.
Comment 5 bjoern.milcke 2006-07-14 10:17:14 UTC
BTW., if you are interested in a current development snapshot of the new
implementation, check out http://graphics.openoffice.org/chart/chart.html
Comment 6 bjoern.milcke 2006-11-01 09:56:20 UTC
->KLA: Please verify in Milestone 9.
Comment 7 IngridvdM 2007-01-18 11:53:53 UTC
changed target to 2.3
Comment 8 kla 2007-04-20 13:16:40 UTC
verified
Comment 9 p9w.vu.31122010 2007-06-14 19:30:40 UTC
Verified in 680 m215, closing.