Issue 80221 - Axis properties may get lost on save if axis is hidden
Summary: Axis properties may get lost on save if axis is hidden
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:
 
Reported: 2007-07-31 15:02 UTC by bjoern.milcke
Modified: 2013-02-24 21:19 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description bjoern.milcke 2007-07-31 15:02:54 UTC
1. Create a chart in a spreadsheet
2. Set scaling in Format/Axis/Y Axis, min max to fixed values, maybe logarithmic on
3. Insert/Axis, deselect y-axis
4. Save/Reload
=> The axis properties are correctly saved and reloaded, as for the grid (which
is on per default), the axis element was written to the file with all its
properties (plus a show="false" attribute)
3a. Insert/Grid, deselect y main-grid
4a. Save/Reload
=> The axis properties are not saved, as no axis element is exported at all.

The axis should always be exported especially when there are scaling properties set.
Comment 1 bjoern.milcke 2007-08-01 12:20:14 UTC
Note: this is no regression from the new chart, it also appeared in the old chart.

However, it seems to have worked in OOo 1.0.3 (sxc, OOo XML format)
Comment 2 bjoern.milcke 2007-08-01 12:25:29 UTC
Currently an axis element is exported, when
a. the axis is visible
b. an axis title exists
c. a grid for an axis exists

If neither of a, b and c fits, no element is written. To fix, an axis (at least
a y-axis, as this is normally used for scaling) could always be exported.
Comment 3 bjoern.milcke 2007-08-15 15:11:55 UTC
Now, an axis element is also written if the XPropertySet of an axis exists
(which comes from an XAxis...Supplier). See xmloff/source/chart/SchXMLExport.cxx
in CWS chart11.
Comment 4 bjoern.milcke 2007-09-05 15:16:20 UTC
->kla: Please veryify in CWS chart11.
Comment 5 kla 2007-09-11 09:39:41 UTC
seen ok in cws chart11 -> verified
Comment 6 kla 2007-11-28 13:23:39 UTC
Seen ok in current master -> closed