[Libreoffice-bugs] [Bug 114181] FILESAVE XLSX combined chart (Column and Line) X category axis crosses the Y axis at the wrong place and the Y axis major grid disappears.

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Jan 8 08:50:34 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=114181

--- Comment #4 from Adam Kovacs <christo161 at gmail.com> ---
I write my results so far, maybe if somebody can continue to fix this bug.

In this file:
https://opengrok.libreoffice.org/xref/core/oox/source/drawingml/chart/typegroupconverter.cxx#562

If you write this:
if (nAxesSetIdx == 0)
nAxesSetIdx = 1;
else //if (nAxesSetIdx == 1)
nAxesSetIdx = 0;
Right before this line:
aSeriesProp.setProperty( PROP_AttachedAxisIndex, nAxesSetIdx );
Then the problem seems solved, but the Y axes will be switched and the export
will be crap.

In this file:
https://opengrok.libreoffice.org/xref/core/oox/source/drawingml/chart/axisconverter.cxx#377

If you write this:
if (nAxesSetIdx == 0)
nAxesSetIdx = 1;
else if (nAxesSetIdx == 1)
nAxesSetIdx = 0;
Right before this line:
rxCoordSystem->setAxisByDimension( nAxisIdx, xAxis, nAxesSetIdx );
The Y axes will be switched and the appereance will be correct, but the export
still will be crap.

The export about this is maybe here:
https://opengrok.libreoffice.org/xref/core/oox/source/export/chartexport.cxx#227

And here is some related stuff also:
https://opengrok.libreoffice.org/xref/core/chart2/source/view/axes/VCartesianAxis.cxx#1059

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190108/fe29d62e/attachment-0001.html>


More information about the Libreoffice-bugs mailing list