INTEGRATION: CWS chart17 (1.14.32); FILE MERGED
2007/11/05 14:25:30 iha 1.14.32.2: #i63857#, #i4039# more flexible placement of data point labels, best fit for pie labels 2007/10/23 15:02:39 bm 1.14.32.1: #i82891# improve rendering of regression curves using XRegressionCurveCalculator::getCurveValues()
This commit is contained in:
parent
b2b48786b4
commit
ec015c78e6
1 changed files with 5 additions and 16 deletions
|
@ -4,9 +4,9 @@
|
|||
*
|
||||
* $RCSfile: PlottingPositionHelper.cxx,v $
|
||||
*
|
||||
* $Revision: 1.14 $
|
||||
* $Revision: 1.15 $
|
||||
*
|
||||
* last change: $Author: rt $ $Date: 2007-07-25 09:06:19 $
|
||||
* last change: $Author: ihi $ $Date: 2007-11-23 12:12:34 $
|
||||
*
|
||||
* The Contents of this file are made available subject to
|
||||
* the terms of GNU Lesser General Public License Version 2.1.
|
||||
|
@ -71,6 +71,7 @@ PlottingPositionHelper::PlottingPositionHelper()
|
|||
, m_nXResolution( 1000 )
|
||||
, m_nYResolution( 1000 )
|
||||
, m_nZResolution( 1000 )
|
||||
, m_bMaySkipPointsInRegressionCalculation( true )
|
||||
{
|
||||
}
|
||||
PlottingPositionHelper::PlottingPositionHelper( const PlottingPositionHelper& rSource )
|
||||
|
@ -81,6 +82,7 @@ PlottingPositionHelper::PlottingPositionHelper( const PlottingPositionHelper& rS
|
|||
, m_nXResolution( rSource.m_nXResolution )
|
||||
, m_nYResolution( rSource.m_nYResolution )
|
||||
, m_nZResolution( rSource.m_nZResolution )
|
||||
, m_bMaySkipPointsInRegressionCalculation( rSource.m_bMaySkipPointsInRegressionCalculation )
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -330,20 +332,6 @@ drawing::Direction3D PlottingPositionHelper::getScaledLogicWidth() const
|
|||
return aRet;
|
||||
}
|
||||
|
||||
LabelAlignment PlottingPositionHelper::getLabelAlignmentForDimension( sal_Int32 nDimensionIndex ) const
|
||||
{
|
||||
LabelAlignment aRet(LABEL_ALIGN_CENTER);
|
||||
if( nDimensionIndex==0 && !m_bSwapXAndY )
|
||||
aRet = LABEL_ALIGN_RIGHT;
|
||||
else if( nDimensionIndex==1 && m_bSwapXAndY )
|
||||
aRet = LABEL_ALIGN_RIGHT;
|
||||
else if( nDimensionIndex==1 && !m_bSwapXAndY )
|
||||
aRet = LABEL_ALIGN_TOP;
|
||||
else if( nDimensionIndex==0 && m_bSwapXAndY )
|
||||
aRet = LABEL_ALIGN_TOP;
|
||||
return aRet;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
//-----------------------------------------------------------------------------
|
||||
//-----------------------------------------------------------------------------
|
||||
|
@ -354,6 +342,7 @@ PolarPlottingPositionHelper::PolarPlottingPositionHelper( NormalAxis eNormalAxis
|
|||
, m_aUnitCartesianToScene()
|
||||
, m_eNormalAxis(eNormalAxis)
|
||||
{
|
||||
m_bMaySkipPointsInRegressionCalculation = false;
|
||||
}
|
||||
|
||||
PolarPlottingPositionHelper::PolarPlottingPositionHelper( const PolarPlottingPositionHelper& rSource )
|
||||
|
|
Loading…
Reference in a new issue