Issue 60497 - Legend at top shows y-axis outside of plot area for log scale
Summary: Legend at top shows y-axis outside of plot area for log scale
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: kla
QA Contact: issues@graphics
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2006-01-13 18:43 UTC by gfick
Modified: 2013-02-24 21:20 UTC (History)
2 users (show)

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


Attachments
Document used to produce the issue (15.57 KB, application/vnd.sun.xml.calc)
2006-01-13 18:44 UTC, gfick
no flags Details
Image highlighting the problem in the chart (98.82 KB, image/png)
2006-01-13 18:47 UTC, gfick
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description gfick 2006-01-13 18:43:26 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.
Comment 1 gfick 2006-01-13 18:44:47 UTC
Created attachment 33190 [details]
Document used to produce the issue
Comment 2 gfick 2006-01-13 18:47:16 UTC
Created attachment 33191 [details]
Image highlighting the problem in the chart
Comment 3 lars 2006-01-14 19:00:51 UTC
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
Comment 4 kla 2006-01-31 07:54:43 UTC
-> BM: pls have a look.
thx
Comment 5 bjoern.milcke 2006-01-31 12:59:18 UTC
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.
Comment 6 bjoern.milcke 2006-03-29 09:08:00 UTC
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
Comment 7 bjoern.milcke 2006-03-29 09:08:04 UTC
reassign to kla@openoffice.org
Comment 8 bjoern.milcke 2006-03-29 09:08:11 UTC
reset resolution to FIXED
Comment 9 kla 2006-03-30 11:21:43 UTC
verified into CWS sch14
Comment 10 kla 2006-05-12 13:39:01 UTC
seen ok into the master -> closed