Lines Matching refs:rExplicitScale
167 ExplicitScaleData& rExplicitScale, ExplicitIncrementData& rExplicitIncrement ) const in calculateExplicitScaleAndIncrement() argument
170 rExplicitScale.Orientation = m_aSourceScale.Orientation; in calculateExplicitScaleAndIncrement()
171 rExplicitScale.Scaling = m_aSourceScale.Scaling; in calculateExplicitScaleAndIncrement()
172 rExplicitScale.AxisType = m_aSourceScale.AxisType; in calculateExplicitScaleAndIncrement()
173 rExplicitScale.NullDate = m_aNullDate; in calculateExplicitScaleAndIncrement()
175 bool bAutoMinimum = !(m_aSourceScale.Minimum >>= rExplicitScale.Minimum); in calculateExplicitScaleAndIncrement()
176 bool bAutoMaximum = !(m_aSourceScale.Maximum >>= rExplicitScale.Maximum); in calculateExplicitScaleAndIncrement()
177 bool bAutoOrigin = !(m_aSourceScale.Origin >>= rExplicitScale.Origin); in calculateExplicitScaleAndIncrement()
183 rExplicitScale.Minimum = 0.0; in calculateExplicitScaleAndIncrement()
187 rExplicitScale.Minimum = 36526.0; //1.1.2000 in calculateExplicitScaleAndIncrement()
189 rExplicitScale.Minimum = 0.0; //@todo get Minimum from scaling or from plotter???? in calculateExplicitScaleAndIncrement()
192 rExplicitScale.Minimum = m_fValueMinimum; in calculateExplicitScaleAndIncrement()
199 rExplicitScale.Maximum = 1.0; in calculateExplicitScaleAndIncrement()
203 rExplicitScale.Maximum = 40179.0; //1.1.2010 in calculateExplicitScaleAndIncrement()
205 rExplicitScale.Maximum = 10.0; //@todo get Maximum from scaling or from plotter???? in calculateExplicitScaleAndIncrement()
208 rExplicitScale.Maximum = m_fValueMaximum; in calculateExplicitScaleAndIncrement()
214 rExplicitScale.ShiftedCategoryPosition = m_aSourceScale.ShiftedCategoryPosition; in calculateExplicitScaleAndIncrement()
219 …calculateExplicitIncrementAndScaleForDateTimeAxis( rExplicitScale, rExplicitIncrement, bAutoMinimu… in calculateExplicitScaleAndIncrement()
221 …calculateExplicitIncrementAndScaleForCategory( rExplicitScale, rExplicitIncrement, bAutoMinimum, b… in calculateExplicitScaleAndIncrement()
224 bIsLogarithm = AxisHelper::isLogarithmic( rExplicitScale.Scaling ); in calculateExplicitScaleAndIncrement()
226 …calculateExplicitIncrementAndScaleForLogarithmic( rExplicitScale, rExplicitIncrement, bAutoMinimum… in calculateExplicitScaleAndIncrement()
228 …calculateExplicitIncrementAndScaleForLinear( rExplicitScale, rExplicitIncrement, bAutoMinimum, bAu… in calculateExplicitScaleAndIncrement()
237 if( fDefaulOrigin < rExplicitScale.Minimum ) in calculateExplicitScaleAndIncrement()
238 fDefaulOrigin = rExplicitScale.Minimum; in calculateExplicitScaleAndIncrement()
239 else if( fDefaulOrigin > rExplicitScale.Maximum ) in calculateExplicitScaleAndIncrement()
240 fDefaulOrigin = rExplicitScale.Maximum; in calculateExplicitScaleAndIncrement()
242 rExplicitScale.Origin = fDefaulOrigin; in calculateExplicitScaleAndIncrement()
259 ExplicitScaleData& rExplicitScale, in calculateExplicitIncrementAndScaleForCategory() argument
264 rExplicitScale.Scaling.clear(); in calculateExplicitIncrementAndScaleForCategory()
266 if( rExplicitScale.ShiftedCategoryPosition ) in calculateExplicitIncrementAndScaleForCategory()
267 rExplicitScale.Maximum += 1.0; in calculateExplicitIncrementAndScaleForCategory()
270 if( rExplicitScale.Maximum <= rExplicitScale.Minimum ) in calculateExplicitIncrementAndScaleForCategory()
271 rExplicitScale.Maximum = rExplicitScale.Minimum + 1.0; in calculateExplicitIncrementAndScaleForCategory()
280 …rExplicitScale.Minimum = EquidistantTickFactory::getMinimumAtIncrement( rExplicitScale.Minimum, rE… in calculateExplicitIncrementAndScaleForCategory()
282 …rExplicitScale.Maximum = EquidistantTickFactory::getMaximumAtIncrement( rExplicitScale.Maximum, rE… in calculateExplicitIncrementAndScaleForCategory()
285 …double fDistanceCount = ::rtl::math::approxFloor( (rExplicitScale.Maximum-rExplicitScale.Minimum) … in calculateExplicitIncrementAndScaleForCategory()
288 double fMinimumFloor = ::rtl::math::approxFloor( rExplicitScale.Minimum ); in calculateExplicitIncrementAndScaleForCategory()
289 double fMaximumCeil = ::rtl::math::approxCeil( rExplicitScale.Maximum ); in calculateExplicitIncrementAndScaleForCategory()
319 ExplicitScaleData& rExplicitScale, in calculateExplicitIncrementAndScaleForLogarithmic() argument
325 const double fInputMinimum = rExplicitScale.Minimum; in calculateExplicitIncrementAndScaleForLogarithmic()
326 const double fInputMaximum = rExplicitScale.Maximum; in calculateExplicitIncrementAndScaleForLogarithmic()
328 double fSourceMinimum = rExplicitScale.Minimum; in calculateExplicitIncrementAndScaleForLogarithmic()
329 double fSourceMaximum = rExplicitScale.Maximum; in calculateExplicitIncrementAndScaleForLogarithmic()
338 uno::Reference< XScaling > xScaling = rExplicitScale.Scaling; in calculateExplicitIncrementAndScaleForLogarithmic()
518 rExplicitScale.Minimum = -fAxisMaximum; in calculateExplicitIncrementAndScaleForLogarithmic()
519 rExplicitScale.Maximum = -fAxisMinimum; in calculateExplicitIncrementAndScaleForLogarithmic()
523 rExplicitScale.Minimum = fAxisMinimum; in calculateExplicitIncrementAndScaleForLogarithmic()
524 rExplicitScale.Maximum = fAxisMaximum; in calculateExplicitIncrementAndScaleForLogarithmic()
537 rExplicitScale.Minimum = xInverseScaling->doScaling( rExplicitScale.Minimum ); in calculateExplicitIncrementAndScaleForLogarithmic()
538 rExplicitScale.Maximum = xInverseScaling->doScaling( rExplicitScale.Maximum ); in calculateExplicitIncrementAndScaleForLogarithmic()
541 if( !::rtl::math::isFinite( rExplicitScale.Minimum ) || rExplicitScale.Minimum <= 0) in calculateExplicitIncrementAndScaleForLogarithmic()
543 rExplicitScale.Minimum = fInputMinimum; in calculateExplicitIncrementAndScaleForLogarithmic()
544 if( !::rtl::math::isFinite( rExplicitScale.Minimum ) || rExplicitScale.Minimum <= 0 ) in calculateExplicitIncrementAndScaleForLogarithmic()
545 rExplicitScale.Minimum = 1.0; in calculateExplicitIncrementAndScaleForLogarithmic()
547 if( !::rtl::math::isFinite( rExplicitScale.Maximum) || rExplicitScale.Maximum <= 0 ) in calculateExplicitIncrementAndScaleForLogarithmic()
549 rExplicitScale.Maximum= fInputMaximum; in calculateExplicitIncrementAndScaleForLogarithmic()
550 if( !::rtl::math::isFinite( rExplicitScale.Maximum) || rExplicitScale.Maximum <= 0 ) in calculateExplicitIncrementAndScaleForLogarithmic()
551 rExplicitScale.Maximum = 10.0; in calculateExplicitIncrementAndScaleForLogarithmic()
553 if( rExplicitScale.Maximum < rExplicitScale.Minimum ) in calculateExplicitIncrementAndScaleForLogarithmic()
554 ::std::swap( rExplicitScale.Maximum, rExplicitScale.Minimum ); in calculateExplicitIncrementAndScaleForLogarithmic()
583 ExplicitScaleData& rExplicitScale, in calculateExplicitIncrementAndScaleForDateTimeAxis() argument
587 …Date(m_aNullDate); aMinDate += static_cast<long>(::rtl::math::approxFloor(rExplicitScale.Minimum)); in calculateExplicitIncrementAndScaleForDateTimeAxis()
588 …Date(m_aNullDate); aMaxDate += static_cast<long>(::rtl::math::approxFloor(rExplicitScale.Maximum)); in calculateExplicitIncrementAndScaleForDateTimeAxis()
596 if( !(m_aSourceScale.TimeIncrement.TimeResolution >>= rExplicitScale.TimeResolution) ) in calculateExplicitIncrementAndScaleForDateTimeAxis()
597 rExplicitScale.TimeResolution = m_nTimeResolution; in calculateExplicitIncrementAndScaleForDateTimeAxis()
599 rExplicitScale.Scaling = new DateScaling(m_aNullDate,rExplicitScale.TimeResolution,false); in calculateExplicitIncrementAndScaleForDateTimeAxis()
602 switch( rExplicitScale.TimeResolution ) in calculateExplicitIncrementAndScaleForDateTimeAxis()
605 if( rExplicitScale.ShiftedCategoryPosition ) in calculateExplicitIncrementAndScaleForDateTimeAxis()
611 if( rExplicitScale.ShiftedCategoryPosition ) in calculateExplicitIncrementAndScaleForDateTimeAxis()
626 if( rExplicitScale.ShiftedCategoryPosition ) in calculateExplicitIncrementAndScaleForDateTimeAxis()
639 rExplicitScale.Minimum = aMinDate - m_aNullDate; in calculateExplicitIncrementAndScaleForDateTimeAxis()
640 rExplicitScale.Maximum = aMaxDate - m_aNullDate; in calculateExplicitIncrementAndScaleForDateTimeAxis()
657 if( rExplicitIncrement.MajorTimeInterval.TimeUnit < rExplicitScale.TimeResolution ) in calculateExplicitIncrementAndScaleForDateTimeAxis()
658 rExplicitIncrement.MajorTimeInterval.TimeUnit = rExplicitScale.TimeResolution; in calculateExplicitIncrementAndScaleForDateTimeAxis()
679 if( nIntervalDays>365 || YEAR==rExplicitScale.TimeResolution ) in calculateExplicitIncrementAndScaleForDateTimeAxis()
684 else if( nIntervalDays>31 || MONTH==rExplicitScale.TimeResolution ) in calculateExplicitIncrementAndScaleForDateTimeAxis()
761 if( rExplicitScale.TimeResolution == DAY ) in calculateExplicitIncrementAndScaleForDateTimeAxis()
765 if( rExplicitScale.TimeResolution <= MONTH ) in calculateExplicitIncrementAndScaleForDateTimeAxis()
778 ExplicitScaleData& rExplicitScale, in calculateExplicitIncrementAndScaleForLinear() argument
784 double fSourceMinimum = rExplicitScale.Minimum; in calculateExplicitIncrementAndScaleForLinear()
785 double fSourceMaximum = rExplicitScale.Maximum; in calculateExplicitIncrementAndScaleForLinear()
980 rExplicitScale.Minimum = -fAxisMaximum; in calculateExplicitIncrementAndScaleForLinear()
981 rExplicitScale.Maximum = -fAxisMinimum; in calculateExplicitIncrementAndScaleForLinear()
985 rExplicitScale.Minimum = fAxisMinimum; in calculateExplicitIncrementAndScaleForLinear()
986 rExplicitScale.Maximum = fAxisMaximum; in calculateExplicitIncrementAndScaleForLinear()