[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 15 10:13:03 UTC 2019


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

--- Comment #11 from Adam Kovacs <christo161 at gmail.com> ---
If I comment out the if and return statement here, the result seems to be same.

https://opengrok.libreoffice.org/xref/core/chart2/source/view/axes/VCartesianAxis.cxx#1037

(In reply to Adam Kovacs from comment #6)
> If I write in this file:
> https://opengrok.libreoffice.org/xref/core/chart2/source/view/axes/
> VCartesianAxis.cxx#1194
> 
> This:
> if( m_nDimensionIndex==0 ) //x-axis
> fCrossesOtherAxis = fMinY;
> 
> Instead of this:
> 
> if( m_nDimensionIndex==0 ) //x-axis
> {
> if( fCrossesOtherAxis < fMinY )
> fCrossesOtherAxis = fMinY;
> else if( fCrossesOtherAxis > fMaxY )
> fCrossesOtherAxis = fMaxY;
> 
> The problem seems solved.

-- 
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/20190115/9ede92ce/attachment-0001.html>


More information about the Libreoffice-bugs mailing list