|
LibreOffice Module chart2 (master) 1
|
#include <CategoryPositionHelper.hxx>
Public Member Functions | |
| 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) |
Protected Attributes | |
| double | m_fSeriesCount |
| double | m_fCategoryWidth |
| double | m_fInnerDistance |
| double | m_fOuterDistance |
Definition at line 24 of file CategoryPositionHelper.hxx.
| chart::CategoryPositionHelper::CategoryPositionHelper | ( | double | fSeriesCount, |
| double | CategoryWidth = 1.0 |
||
| ) |
Definition at line 25 of file CategoryPositionHelper.cxx.
|
virtual |
Definition at line 33 of file CategoryPositionHelper.cxx.
|
default |
|
default |
|
virtual |
Reimplemented in chart::BarPositionHelper.
Definition at line 46 of file CategoryPositionHelper.cxx.
References getScaledSlotWidth(), m_fCategoryWidth, m_fInnerDistance, and m_fOuterDistance.
Referenced by chart::BarPositionHelper::getScaledSlotPos().
| double chart::CategoryPositionHelper::getScaledSlotWidth | ( | ) | const |
Definition at line 37 of file CategoryPositionHelper.cxx.
References m_fCategoryWidth, m_fInnerDistance, m_fOuterDistance, and m_fSeriesCount.
Referenced by chart::CandleStickChart::createShapes(), chart::BarChart::doZSlot(), chart::BarChart::getPreferredDiagramAspectRatio(), and getScaledSlotPos().
|
default |
|
default |
| void chart::CategoryPositionHelper::setCategoryWidth | ( | double | fCategoryWidth | ) |
Definition at line 75 of file CategoryPositionHelper.cxx.
References m_fCategoryWidth.
Referenced by chart::BarPositionHelper::setScaledCategoryWidth().
| void chart::CategoryPositionHelper::setInnerDistance | ( | double | fInnerDistance | ) |
Definition at line 57 of file CategoryPositionHelper.cxx.
References m_fInnerDistance.
Referenced by chart::BarChart::getPlottingPositionHelper().
| void chart::CategoryPositionHelper::setOuterDistance | ( | double | fOuterDistance | ) |
Definition at line 66 of file CategoryPositionHelper.cxx.
References m_fOuterDistance.
Referenced by chart::BarChart::getPlottingPositionHelper().
|
protected |
Definition at line 47 of file CategoryPositionHelper.hxx.
Referenced by getScaledSlotPos(), getScaledSlotWidth(), and setCategoryWidth().
|
protected |
Definition at line 50 of file CategoryPositionHelper.hxx.
Referenced by getScaledSlotPos(), getScaledSlotWidth(), and setInnerDistance().
|
protected |
Definition at line 52 of file CategoryPositionHelper.hxx.
Referenced by getScaledSlotPos(), getScaledSlotWidth(), and setOuterDistance().
|
protected |
Definition at line 46 of file CategoryPositionHelper.hxx.
Referenced by getScaledSlotWidth(), and chart::BarPositionHelper::updateSeriesCount().