Issue 85637 - Rotation to Bar chart should be also rotate the Axis Title
Summary: Rotation to Bar chart should be also rotate the Axis Title
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:
Depends on:
Blocks: 72764
  Show dependency tree
 
Reported: 2008-01-28 12:34 UTC by kla
Modified: 2013-02-24 21:18 UTC (History)
3 users (show)

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


Attachments
Testdoc (11.86 KB, application/vnd.oasis.opendocument.spreadsheet)
2008-01-28 12:44 UTC, kla
no flags Details
patch_080710 (2.05 KB, text/plain)
2008-07-10 04:17 UTC, weiz
no flags Details
new example with automatic positions (11.38 KB, application/vnd.oasis.opendocument.spreadsheet)
2008-07-17 08:56 UTC, IngridvdM
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description kla 2008-01-28 12:34:44 UTC
Open testdoc.
Select chart and switch Type to Bar.
Only the Chart Type are switched, not the Axis Title.
Comment 1 kla 2008-01-28 12:44:40 UTC
Created attachment 51203 [details]
Testdoc
Comment 2 weiz 2008-07-10 04:16:19 UTC
&iha: the property "AutomaticPosition" for chart title is finished. Please let 
me know your suggestions, it's useful for me to work on the further work(the 
same property for legend and plot area). Thank you very much!
Comment 3 weiz 2008-07-10 04:17:01 UTC
Created attachment 55038 [details]
patch_080710
Comment 4 IngridvdM 2008-07-10 20:56:01 UTC
@weiz, thanks for the patch! I only had a quick look so far but it looks good. :-)
The only thing I stumbled over is the case when the property automatic-position
is set to false. In the patch this is not implemented. Did you try to use
TitleWrapper::getPosition() to set an explicit position in that case?
Adding the same property for legend and plot area would be a part of issue 75194.
Comment 5 IngridvdM 2008-07-11 07:49:47 UTC
One thing more. For the file format it is specified that the absence of
'auto-position' is equal to auto-position=false. So the default in the file
format is false. We can achieve the correct behavior easily when choosing the
same default for the API. Please introduce an additional method
WrappedAutomaticPositionProperty::getPropertyDefault. It should return false.
Comment 6 weiz 2008-07-14 04:38:58 UTC
@iha: the improvement of this issue is finished at issue 75194.
Comment 7 IngridvdM 2008-07-17 08:54:42 UTC
With the implementation of issue 75194 this is fixed as follows:
When you now create a chart with axes-titles the positions of the titles are not
fixed but automatic as long as the user does not move them explicitly. So you
can create a column chart with titles, save, reload and swap to bar chart -> the
titles will move to the positions they should have for a default bar chart.
As the attached file was written with an older version it can not be
distinguished whether the user has explicitly positioned the title or whether it
was automatically placed by the application. So old files can not be corrected,
but this should be a relatively rare scenario and users can use the auto-layout
button to bring back good defaults.
Comment 8 IngridvdM 2008-07-17 08:56:48 UTC
Created attachment 55166 [details]
new example with automatic positions
Comment 9 IngridvdM 2008-09-10 16:37:40 UTC
@KLA, please verify in CWS chart30.
Comment 10 kla 2008-09-16 09:14:13 UTC
For new docs its work fine, ok in CWS chart30 -> verified
Comment 11 kla 2008-11-04 13:08:58 UTC
Seen ok in current master -> closed