Kaydet (Commit) ce48c098 authored tarafından Muthu Subramanian's avatar Muthu Subramanian Kaydeden (comit) Muthu Subramanian

n#834722: Chart shown flipped.

Auto and manual axis positioning seems to cause a problem.
Needs to be tested with more charts.
üst ebf0a4d1
...@@ -327,7 +327,8 @@ void AxisConverter::convertFromModel( const Reference< XCoordinateSystem >& rxCo ...@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment