Issue 66009 - new Chart: Legend of loaded files may be clipped
Summary: new Chart: Legend of loaded files may be clipped
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: new_implementation
: 71295 (view as issue list)
Depends on:
Blocks:
 
Reported: 2006-06-01 14:56 UTC by kla
Modified: 2013-02-24 21:21 UTC (History)
2 users (show)

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


Attachments
Doc show cutted legend (20.71 KB, application/vnd.oasis.opendocument.spreadsheet)
2006-06-01 14:57 UTC, kla
no flags Details
Fix for this bug in chart2 (after integration of CWS chart2mst3) (3.00 KB, patch)
2007-04-05 17:45 UTC, bjoern.milcke
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description kla 2006-06-01 14:56:12 UTC
see attached doc.
After reload the legend are cutted. Type: Stockchart Type4
Comment 1 kla 2006-06-01 14:57:01 UTC
set keyword
Comment 2 kla 2006-06-01 14:57:50 UTC
Created attachment 36856 [details]
Doc show cutted legend
Comment 3 bjoern.milcke 2006-06-23 10:03:14 UTC
Changed target to 2.x
Comment 4 bjoern.milcke 2006-09-28 10:36:04 UTC
The new legend is rendered differently than the old legend. Therefore it can
happen that it is wider than in the old chart. If the legend position is
"automatic", there is no problem. Unfortunately, the old chart always wrote an
absolute position of the legend into the file (which is also a bug, but is now
apparent in all saved files).

To fix this I see two possibilities:

1. Render the legend exactly like before. This doesn't seem appropriate for
stock charts, as the legend was basically useless in the old chart, and now at
least shows the candle stick bars.
2. Shift the legend to the left in the view, i.e. leave the absolute position in
the model but shift the legend to the center to avoid the clipping. (Like MS
Excel does with dragged pie segments. The offset stays in the model, but the
view shifts the segment back if it would otherwise lap out of the chart).

Setting Prio to 4.
Comment 5 kla 2006-11-08 13:40:47 UTC
*** Issue 71295 has been marked as a duplicate of this issue. ***
Comment 6 bjoern.milcke 2007-03-16 14:01:48 UTC
changed summary
Comment 7 bjoern.milcke 2007-04-05 17:45:01 UTC
Created attachment 44236 [details]
Fix for this bug in chart2 (after integration of CWS chart2mst3)
Comment 8 bjoern.milcke 2007-04-05 17:48:30 UTC
Fixed with the attached patch (apply to CWS chart2mst3 or after this CWS has
been integrated).

The fix shifts the legend to the left or top when it laps out.
Comment 9 IngridvdM 2007-04-18 14:40:33 UTC
changed prio and target
Comment 10 bjoern.milcke 2007-04-19 10:38:25 UTC
Patch applied in chart2mst3
Comment 11 bjoern.milcke 2007-04-23 11:16:52 UTC
Please verify in latest build of chart2mst3, mst12_3.

You will notice that the legend in the attached bugdoc looks different as we
removed some entries for stock-charts. However, you can still see that the
legend is shifted a bit to the left, as it overlaps the diagram slightly.
Comment 12 kla 2007-05-11 10:12:44 UTC
verified; follow up issue i77030
Comment 13 p9w.vu.31122010 2007-06-14 15:18:57 UTC
Fixed in OOF680 m215, closing.