Apache OpenOffice (AOO) Bugzilla – Issue 69680
new chart: Transparent chart background turns to solid
Last modified: 2013-02-24 21:18:59 UTC
Insert a bar chart into a Calc doc, change chart background to "no color", save to ODS, reload, open background formatting dialog -> it shows white color. Works correctly for other objects like diagram area, titles, legend, data points.
target
Bug exists also for floor formatting in 3D charts (wall works correctly)
... and invisible Y main grid in 3d charts appears again too ...
Fixed the Area. (The old API set FillStyle::NONE as default. This is not correct. Don't know why it was introduced. Checking some old and new files, load/save was ok) It was indeed the export that didn't work (because of the default)
Fixed floor. In the old chart the default for floor was SOLID. The default for the wall was NONE, except for line and scatter charts. As this is not a usable default, I changed the behaviour of the old API wrapper in the new chart such that there is no default for wall and floor. As a result, the wall and floor fill-style are always exported, thus always correct after re-import. In general, we have defaults in the new model, which are sometimes different from the defaults in the old API. When the default in the old API is different, this default has to be set in the XML import as hard attribute, such that when no attribute is in the file the old default holds. The bug appeared, as the old API default was NONE, but this was not set in xmloff on floor import. Doing so would have been a fix, but as said before it makes more sense to have no default, i.e. always export the fill-style, because the old chart would otherwise have problems here.
Also fixed the re-appearing grid issue. Note, that there is still a problem when storing grids without axes, or "no-axis" for the x-axis of a category chart. As in XML in those cases an axis-element is written in the chart, the axes re-appear. The actual problem is that the "show=false" property is not written.
->DR: Also fixed the last problem mentioned, so grids, categories and axis titles without axes work now. However (...) there seems to be still a problem with a re-appearing z-axis in 3d charts.
Note: the "also fixed issue" mentioned before is Issue 68038
->kla: Please verify in Milestone 9.
changed target to 2.3
changed summary to start with 'new chart:', set keyword and changed issue type to reflect that this issue did only occur in the new chart and did not affect the master branch
verified
ok in SRC680m220 -> closing