[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 09:06:03 UTC 2019


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

--- Comment #6 from Adam Kovacs <christo161 at gmail.com> ---
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/20190108/f937a741/attachment.html>


More information about the Libreoffice-bugs mailing list