LibreOffice Module chart2 (master) 1
|
#include <BarPositionHelper.hxx>
Public Member Functions | |
BarPositionHelper () | |
BarPositionHelper (const BarPositionHelper &rSource) | |
virtual | ~BarPositionHelper () override |
virtual std::unique_ptr< PlottingPositionHelper > | clone () const override |
void | updateSeriesCount (double fSeriesCount) |
virtual double | getScaledSlotPos (double fCategoryX, double fSeriesNumber) const override |
virtual void | setScaledCategoryWidth (double fScaledCategoryWidth) override |
Public Member Functions inherited from chart::CategoryPositionHelper | |
CategoryPositionHelper (double fSeriesCount, double CategoryWidth=1.0) | |
virtual | ~CategoryPositionHelper () |
CategoryPositionHelper (CategoryPositionHelper const &)=default | |
CategoryPositionHelper (CategoryPositionHelper &&)=default | |
CategoryPositionHelper & | operator= (CategoryPositionHelper const &)=default |
CategoryPositionHelper & | operator= (CategoryPositionHelper &&)=default |
double | getScaledSlotWidth () const |
virtual double | getScaledSlotPos (double fCategoryX, double fSeriesNumber) const |
void | setCategoryWidth (double fCategoryWidth) |
void | setInnerDistance (double fInnerDistance) |
void | setOuterDistance (double fOuterDistance) |
Public Member Functions inherited from chart::PlottingPositionHelper | |
PlottingPositionHelper () | |
PlottingPositionHelper (const PlottingPositionHelper &rSource) | |
virtual | ~PlottingPositionHelper () |
virtual std::unique_ptr< PlottingPositionHelper > | clone () const |
std::unique_ptr< PlottingPositionHelper > | createSecondaryPosHelper (const ExplicitScaleData &rSecondaryScale) |
virtual void | setTransformationSceneToScreen (const css::drawing::HomogenMatrix &rMatrix) |
virtual void | setScales (std::vector< ExplicitScaleData > &&rScales, bool bSwapXAndYAxis) |
const std::vector< ExplicitScaleData > & | getScales () const |
void | setCoordinateSystemResolution (const css::uno::Sequence< sal_Int32 > &rCoordinateSystemResolution) |
bool | isSameForGivenResolution (double fX, double fY, double fZ, double fX2, double fY2, double fZ2) |
bool | isStrongLowerRequested (sal_Int32 nDimensionIndex) const |
bool | isLogicVisible (double fX, double fY, double fZ) const |
void | doLogicScaling (double *pX, double *pY, double *pZ) const |
void | doUnshiftedLogicScaling (double *pX, double *pY, double *pZ) const |
void | clipLogicValues (double *pX, double *pY, double *pZ) const |
void | clipScaledLogicValues (double *pX, double *pY, double *pZ) const |
bool | clipYRange (double &rMin, double &rMax) const |
void | doLogicScaling (css::drawing::Position3D &rPos) const |
virtual ::chart::XTransformation2 * | getTransformationScaledLogicToScene () const |
virtual css::drawing::Position3D | transformLogicToScene (double fX, double fY, double fZ, bool bClip) const |
virtual css::drawing::Position3D | transformScaledLogicToScene (double fX, double fY, double fZ, bool bClip) const |
void | transformScaledLogicToScene (css::drawing::PolyPolygonShape3D &rPoly) const |
void | transformScaledLogicToScene (std::vector< std::vector< css::drawing::Position3D > > &rPoly) const |
double | getLogicMinX () const |
double | getLogicMinY () const |
double | getLogicMinZ () const |
double | getLogicMaxX () const |
double | getLogicMaxY () const |
double | getLogicMaxZ () const |
bool | isMathematicalOrientationX () const |
bool | isMathematicalOrientationY () const |
bool | isMathematicalOrientationZ () const |
::basegfx::B2DRectangle | getScaledLogicClipDoubleRect () const |
css::drawing::Direction3D | getScaledLogicWidth () const |
bool | isSwapXAndY () const |
bool | isPercentY () const |
double | getBaseValueY () const |
bool | maySkipPointsInRegressionCalculation () const |
void | setTimeResolution (tools::Long nTimeResolution, const Date &rNullDate) |
virtual void | setScaledCategoryWidth (double fScaledCategoryWidth) |
void | AllowShiftXAxisPos (bool bAllowShift) |
void | AllowShiftZAxisPos (bool bAllowShift) |
Additional Inherited Members | |
Static Public Member Functions inherited from chart::PlottingPositionHelper | |
static css::awt::Point | transformSceneToScreenPosition (const css::drawing::Position3D &rScenePosition3D, const rtl::Reference< SvxShapeGroupAnyD > &xSceneTarget, sal_Int32 nDimensionCount) |
Protected Attributes inherited from chart::CategoryPositionHelper | |
double | m_fSeriesCount |
double | m_fCategoryWidth |
double | m_fInnerDistance |
double | m_fOuterDistance |
Protected Attributes inherited from chart::PlottingPositionHelper | |
std::vector< ExplicitScaleData > | m_aScales |
::basegfx::B3DHomMatrix | m_aMatrixScreenToScene |
std::unique_ptr< ::chart::XTransformation2 > | m_xTransformationLogicToScene |
bool | m_bSwapXAndY |
sal_Int32 | m_nXResolution |
sal_Int32 | m_nYResolution |
sal_Int32 | m_nZResolution |
bool | m_bMaySkipPointsInRegressionCalculation |
bool | m_bDateAxis |
tools::Long | m_nTimeResolution |
Date | m_aNullDate |
double | m_fScaledCategoryWidth |
bool | m_bAllowShiftXAxisPos |
bool | m_bAllowShiftZAxisPos |
Definition at line 27 of file BarPositionHelper.hxx.
|
explicit |
Definition at line 28 of file BarPositionHelper.cxx.
References chart::PlottingPositionHelper::AllowShiftXAxisPos(), and chart::PlottingPositionHelper::AllowShiftZAxisPos().
chart::BarPositionHelper::BarPositionHelper | ( | const BarPositionHelper & | rSource | ) |
Definition at line 35 of file BarPositionHelper.cxx.
|
overridevirtual |
Definition at line 41 of file BarPositionHelper.cxx.
|
overridevirtual |
Reimplemented from chart::PlottingPositionHelper.
Definition at line 45 of file BarPositionHelper.cxx.
|
overridevirtual |
Reimplemented from chart::CategoryPositionHelper.
Definition at line 55 of file BarPositionHelper.cxx.
References chart::PlottingPositionHelper::doLogicScaling(), chart::CategoryPositionHelper::getScaledSlotPos(), chart::PlottingPositionHelper::m_aNullDate, chart::PlottingPositionHelper::m_bDateAxis, chart::PlottingPositionHelper::m_nTimeResolution, and chart::DateHelper::RasterizeDateValue().
Referenced by chart::CandleStickChart::createShapes(), and chart::BarChart::doXSlot().
|
overridevirtual |
Reimplemented from chart::PlottingPositionHelper.
Definition at line 66 of file BarPositionHelper.cxx.
References chart::PlottingPositionHelper::m_fScaledCategoryWidth, and chart::CategoryPositionHelper::setCategoryWidth().
void chart::BarPositionHelper::updateSeriesCount | ( | double | fSeriesCount | ) |
Definition at line 50 of file BarPositionHelper.cxx.
References chart::CategoryPositionHelper::m_fSeriesCount.
Referenced by chart::CandleStickChart::createShapes(), and chart::BarChart::doZSlot().