Issue 49386 - axes major and minor marks missing
Summary: axes major and minor marks missing
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: 2005-05-17 13:50 UTC by adham2
Modified: 2013-02-24 21:22 UTC (History)
1 user (show)

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


Attachments
an example of a plot in which no axes marks can be shown! (18.71 KB, application/vnd.sun.xml.calc)
2005-05-17 13:52 UTC, adham2
no flags Details
another veriosn, with half the axes tick marks drawn only (25.27 KB, application/vnd.sun.xml.impress)
2005-05-17 13:58 UTC, adham2
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description adham2 2005-05-17 13:50:54 UTC
When the y axes is 1 unit length, and negative,  the axes interval marks are 
not shown, or only partially shown. I do not know how to submit an example 
file yet, but if for example ones tries to make an XY plot of the data here, 
there are only one funny tick mark in both axes. There are really many more 
problems with chart, but this one is a showstopper for me, since I have lots 
of data like this! 
 
 -1000	-500 
-999.97	-499.99 
-999.94	-499.97 
-999.91	-499.96 
-999.88	-499.94 
-999.85	-499.93 
-999.82	-499.91 
-999.79	-499.9 
-999.76	-499.88 
-999.73	-499.87 
-999.7	-499.85 
-999.67	-499.84 
-999.64	-499.82 
-999.61	-499.81 
-999.58	-499.79 
-999.55	-499.78 
-999.52	-499.76 
-999.49	-499.75 
-999.46	-499.73 
-999.43	-499.72 
-999.4	-499.7 
-999.37	-499.69 
-999.34	-499.67 
-999.31	-499.66 
-999.28	-499.64 
-999.25	-499.63 
-999.22	-499.61 
-999.19	-499.6 
-999.16	-499.58 
-999.13	-499.57 
-999.1	-499.55 
-999.07	-499.54 
-999.04	-499.52 
-999.01	-499.51 
-998.98	-499.49
Comment 1 adham2 2005-05-17 13:52:18 UTC
Created attachment 26232 [details]
an example of a plot in which no axes marks can be shown!
Comment 2 adham2 2005-05-17 13:57:35 UTC
Ok, I did attache a file finally. Another thing which I just noticed, is that 
if I change the scaling of the axes manually, for example set the axes max 
above the limit of the data, then the axes tick marks and labels show up, but 
only untill the limit of the data, i.e. half the axes is empty! I think this 
is not a normal thing! I attache the same file again, with an illustration of 
this bug.  
Comment 3 adham2 2005-05-17 13:58:26 UTC
Created attachment 26234 [details]
another veriosn, with half the axes tick marks drawn only
Comment 4 kla 2005-05-17 14:17:26 UTC
Priority 1 for missing tick marks???
I think Prio 3 maybe only Prio 4 are matched very much better.
Change Prio to an relistic value.
Comment 5 bjoern.milcke 2005-05-17 17:21:48 UTC
The problem occurs when you have negative values only, and they differ by less
than one thousandth. This is dur to a threshold value that is calculated as min(
max_data, major_step, minor_step ). To include max_data in this case seems
wrong, but it might have been added for some reason I do not understand yet.
(Another way to fix would be to include abs( max_data ) or (max_data -
min_data)). (See sch/source/core/chaxis.cxx:2584 ChartAxis::DrawGrids.)
Comment 6 adham2 2005-05-17 17:25:36 UTC
Ok, I did not look too much on he priority thing, I hope P3 lets it get fixed 
soon, before 2.0 final. How can I help fixing it? 
Comment 7 kla 2005-05-18 08:00:56 UTC
->adham2: ok accepted for the Prio setting fault :-)
Set Target and Owner
Comment 8 bjoern.milcke 2005-05-18 10:04:22 UTC
accepted
Comment 9 bjoern.milcke 2005-05-25 14:06:03 UTC
fixed as described above
Comment 10 bjoern.milcke 2005-08-11 15:01:56 UTC
please verify in dr37

re-open issue and reassign to kla@openoffice.org
Comment 11 bjoern.milcke 2005-08-11 15:02:00 UTC
reassign to kla@openoffice.org
Comment 12 bjoern.milcke 2005-08-11 15:02:04 UTC
reset resolution to FIXED
Comment 13 kla 2005-09-08 14:17:40 UTC
ok in CWS dr37 -> verified
Comment 14 kla 2005-10-07 07:32:15 UTC
ok in master m132 ->closed