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:
parent
ebf0a4d1e3
commit
ce48c09812
@ -327,7 +327,8 @@ void AxisConverter::convertFromModel( const Reference< XCoordinateSystem >& rxCo
|
|||||||
case XML_max: eAxisPos = cssc::ChartAxisPosition_END; break;
|
case XML_max: eAxisPos = cssc::ChartAxisPosition_END; break;
|
||||||
case XML_autoZero: eAxisPos = cssc::ChartAxisPosition_VALUE; 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
|
// calculate automatic origin depending on scaling mode of crossing axis
|
||||||
bool bCrossingLogScale = pCrossingAxis && lclIsLogarithmicScale( *pCrossingAxis );
|
bool bCrossingLogScale = pCrossingAxis && lclIsLogarithmicScale( *pCrossingAxis );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user