Issue 71697 - new chart: Manual legend size, automatic entry stacking
Summary: new chart: Manual legend size, automatic entry stacking
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, oooqa
: 71685 71695 (view as issue list)
Depends on:
Blocks:
 
Reported: 2006-11-18 13:36 UTC by tony.galmiche.ooo
Modified: 2013-02-24 21:20 UTC (History)
3 users (show)

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


Attachments
Aire_3D.xls (21.50 KB, application/vnd.ms-excel)
2006-11-18 13:36 UTC, tony.galmiche.ooo
no flags Details
Aire_3D.jpg (38.64 KB, application/msword)
2006-11-19 13:06 UTC, tony.galmiche.ooo
no flags Details
Aire_3D.jpg (38.64 KB, image/jpeg)
2006-11-19 13:07 UTC, tony.galmiche.ooo
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description tony.galmiche.ooo 2006-11-18 13:36:00 UTC
The legend is on 2 lines in Calc
Comment 1 tony.galmiche.ooo 2006-11-18 13:36:25 UTC
Created attachment 40681 [details]
Aire_3D.xls
Comment 2 utomo99 2006-11-19 07:21:26 UTC
Tony, Sorry can you please explain it more. Thanks
Comment 3 tony.galmiche.ooo 2006-11-19 13:06:37 UTC
Created attachment 40715 [details]
Aire_3D.jpg
Comment 4 tony.galmiche.ooo 2006-11-19 13:07:24 UTC
Created attachment 40716 [details]
Aire_3D.jpg
Comment 5 tony.galmiche.ooo 2006-11-19 13:08:49 UTC
Legend -> Two line in Calc and One line in Excel
Comment 6 utomo99 2006-11-20 03:31:51 UTC
*** Issue 71685 has been marked as a duplicate of this issue. ***
Comment 7 utomo99 2006-11-20 03:33:02 UTC
Confirmed on Ooo 2.1 and Office 2003 Win xp 
Comment 8 IngridvdM 2006-11-20 16:59:37 UTC
->dr: This is broken in the reimplementation. You should be able to use the
property 'Expansion' of type LegendExpansion at the Legend.
Comment 9 IngridvdM 2006-11-20 20:52:54 UTC
*** Issue 71695 has been marked as a duplicate of this issue. ***
Comment 10 daniel.rentz 2006-11-22 13:31:33 UTC
The Expansion property can only be used for automatic legends in Excel (default 
position left/right/top/bottom). If the legend is resized manually, there is no way to 
decide whether the enties are stacked or not. So we need the posibility to set a 
manual size for a legend in Chart2 and to let the legend distribute its entries 
automatically.
Comment 11 bjoern.milcke 2007-04-10 12:28:17 UTC
To fix this regression, it would work if you would calculate the aspect ratio of
the given legend and set the expansion to HIGH, if it is less than 1, or to
WIDE, if it is larger than 1. (If it is 1 +-a threshold, you can set BALANCED).

The API also has the enum value CUSTOM for Expansion, but there is no property
yet that holds the actual ratio. That would have to be fixed in the chart first.
This would lead to better results, but would be an enhancement over the old
behavior.
Comment 12 daniel.rentz 2007-04-17 18:39:44 UTC
locally fixed by using the workaround suggested by bm
Comment 13 IngridvdM 2007-04-18 14:49:54 UTC
changed prio and target according to i-team decision
Comment 14 bjoern.milcke 2007-04-23 12:39:37 UTC
(->dr: Checked bugdoc in latest Build on Windows and Linux)

Please verify in latest build of chart2mst3, mst12_3.
Comment 15 kla 2007-05-08 09:57:57 UTC
verified
Comment 16 tony.galmiche.ooo 2007-05-26 13:05:26 UTC
OK for me