Apache OpenOffice (AOO) Bugzilla – Issue 49386
axes major and minor marks missing
Last modified: 2013-02-24 21:22:06 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
Created attachment 26232 [details] an example of a plot in which no axes marks can be shown!
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.
Created attachment 26234 [details] another veriosn, with half the axes tick marks drawn only
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.
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.)
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?
->adham2: ok accepted for the Prio setting fault :-) Set Target and Owner
accepted
fixed as described above
please verify in dr37 re-open issue and reassign to kla@openoffice.org
reassign to kla@openoffice.org
reset resolution to FIXED
ok in CWS dr37 -> verified
ok in master m132 ->closed