Apache OpenOffice (AOO) Bugzilla – Issue 60497
Legend at top shows y-axis outside of plot area for log scale
Last modified: 2013-02-24 21:20:25 UTC
For a chart with a log scale for the y-axis, placing the legend at the top using Insert>Legend... and choosing "Top" for the position, will show gridlines and axis label outside of the expected plot area.
Created attachment 33190 [details] Document used to produce the issue
Created attachment 33191 [details] Image highlighting the problem in the chart
while I cannot reproduce your problem, I see it in the attached chart; when creating a chart from your data and inserting a legend afterwards at top inserts the legend inside the plot area; so confirmed on Windows XP Pro SP2 with OOo 2. 0.1
-> BM: pls have a look. thx
Problem is a threshold calculation (chaxis.cxx:DrawGrids) that only works for non-logarithmic scaling. In the attached example the threshold is 0.001 which is quite a lot in the given number-range (1e-16 to 1e-12). Therefore labels and grids are drawn up to 1e-03. Fixed in CWS sch14.
To test: load the attached file and enter it. Apart from the vanishing line on top you will notice that selection of the diagram works. In the unfixed version the diagram was very big and extended beyond the bounds of the OLE object. Therefore moving the diagram was impossible. re-open issue and reassign to kla@openoffice.org
reassign to kla@openoffice.org
reset resolution to FIXED
verified into CWS sch14
seen ok into the master -> closed