diff options
author | Muthu Subramanian <sumuthu@suse.com> | 2013-09-09 21:05:42 +0530 |
---|---|---|
committer | Muthu Subramanian <sumuthu@collabora.com> | 2013-09-09 21:08:06 +0530 |
commit | ce48c0981212b347ace49bab09ac242d2ecff41d (patch) | |
tree | deb58f6078fc8d679f8e1ca4d925c42ce1a63bfd | |
parent | ebf0a4d1e338201c09620752f8fdf32dc6580427 (diff) |
n#834722: Chart shown flipped.
Auto and manual axis positioning seems to cause a problem.
Needs to be tested with more charts.
-rw-r--r-- | oox/source/drawingml/chart/axisconverter.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/oox/source/drawingml/chart/axisconverter.cxx b/oox/source/drawingml/chart/axisconverter.cxx index 1f725d641b4b..dfc08b8578db 100644 --- a/oox/source/drawingml/chart/axisconverter.cxx +++ b/oox/source/drawingml/chart/axisconverter.cxx @@ -327,7 +327,8 @@ void AxisConverter::convertFromModel( const Reference< XCoordinateSystem >& rxCo case XML_max: eAxisPos = cssc::ChartAxisPosition_END; break; case XML_autoZero: eAxisPos = cssc::ChartAxisPosition_VALUE; break; } - aAxisProp.setProperty( PROP_CrossoverPosition, eAxisPos ); + if( !mrModel.mbAuto ) + aAxisProp.setProperty( PROP_CrossoverPosition, eAxisPos ); // calculate automatic origin depending on scaling mode of crossing axis bool bCrossingLogScale = pCrossingAxis && lclIsLogarithmicScale( *pCrossingAxis ); |