n#834722: Chart shown flipped.

Auto and manual axis positioning seems to cause a problem.
Needs to be tested with more charts.
This commit is contained in:
Muthu Subramanian
2013-09-09 21:05:42 +05:30
committed by Muthu Subramanian
parent ebf0a4d1e3
commit ce48c09812

View File

@@ -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 );