LibreOffice Module chart2 (master) 1
Public Member Functions | Protected Attributes | List of all members
chart::CategoryPositionHelper Class Reference

#include <CategoryPositionHelper.hxx>

Inheritance diagram for chart::CategoryPositionHelper:
[legend]

Public Member Functions

 CategoryPositionHelper (double fSeriesCount, double CategoryWidth=1.0)
 
virtual ~CategoryPositionHelper ()
 
 CategoryPositionHelper (CategoryPositionHelper const &)=default
 
 CategoryPositionHelper (CategoryPositionHelper &&)=default
 
CategoryPositionHelperoperator= (CategoryPositionHelper const &)=default
 
CategoryPositionHelperoperator= (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
 

Detailed Description

Definition at line 24 of file CategoryPositionHelper.hxx.

Constructor & Destructor Documentation

◆ CategoryPositionHelper() [1/3]

chart::CategoryPositionHelper::CategoryPositionHelper ( double  fSeriesCount,
double  CategoryWidth = 1.0 
)

Definition at line 25 of file CategoryPositionHelper.cxx.

◆ ~CategoryPositionHelper()

chart::CategoryPositionHelper::~CategoryPositionHelper ( )
virtual

Definition at line 33 of file CategoryPositionHelper.cxx.

◆ CategoryPositionHelper() [2/3]

chart::CategoryPositionHelper::CategoryPositionHelper ( CategoryPositionHelper const &  )
default

◆ CategoryPositionHelper() [3/3]

chart::CategoryPositionHelper::CategoryPositionHelper ( CategoryPositionHelper &&  )
default

Member Function Documentation

◆ getScaledSlotPos()

double chart::CategoryPositionHelper::getScaledSlotPos ( double  fCategoryX,
double  fSeriesNumber 
) const
virtual

◆ getScaledSlotWidth()

double chart::CategoryPositionHelper::getScaledSlotWidth ( ) const

◆ operator=() [1/2]

CategoryPositionHelper & chart::CategoryPositionHelper::operator= ( CategoryPositionHelper &&  )
default

◆ operator=() [2/2]

CategoryPositionHelper & chart::CategoryPositionHelper::operator= ( CategoryPositionHelper const &  )
default

◆ setCategoryWidth()

void chart::CategoryPositionHelper::setCategoryWidth ( double  fCategoryWidth)

◆ setInnerDistance()

void chart::CategoryPositionHelper::setInnerDistance ( double  fInnerDistance)

Definition at line 57 of file CategoryPositionHelper.cxx.

References m_fInnerDistance.

Referenced by chart::BarChart::getPlottingPositionHelper().

◆ setOuterDistance()

void chart::CategoryPositionHelper::setOuterDistance ( double  fOuterDistance)

Definition at line 66 of file CategoryPositionHelper.cxx.

References m_fOuterDistance.

Referenced by chart::BarChart::getPlottingPositionHelper().

Member Data Documentation

◆ m_fCategoryWidth

double chart::CategoryPositionHelper::m_fCategoryWidth
protected

◆ m_fInnerDistance

double chart::CategoryPositionHelper::m_fInnerDistance
protected

◆ m_fOuterDistance

double chart::CategoryPositionHelper::m_fOuterDistance
protected

◆ m_fSeriesCount

double chart::CategoryPositionHelper::m_fSeriesCount
protected

The documentation for this class was generated from the following files: