##// END OF EJS Templates
pieslice: fix slice labels turning the wrong way...
pieslice: fix slice labels turning the wrong way When pie was defined with for example wiht start angle -180 and end 180. The text portion of the label was pointing the wrong way.

File last commit:

r1312:0b557819e7a2
r1327:39a357025ee6
Show More
qhbarmodelmapper.cpp
43 lines | 962 B | text/x-c | CppLexer
#include "qhbarmodelmapper.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
QHBarModelMapper::QHBarModelMapper(QObject *parent) :
QBarModelMapper(parent)
{
QBarModelMapper::setOrientation(Qt::Horizontal);
}
int QHBarModelMapper::firstBarSetRow() const
{
return QBarModelMapper::firstBarSetSection();
}
void QHBarModelMapper::setFirstBarSetRow(int firstBarSetRow)
{
return QBarModelMapper::setFirstBarSetSection(firstBarSetRow);
}
int QHBarModelMapper::lastBarSetRow() const
{
return QBarModelMapper::lastBarSetSection();
}
void QHBarModelMapper::setLastBarSetRow(int lastBarSetRow)
{
return QBarModelMapper::setLastBarSetSection(lastBarSetRow);
}
int QHBarModelMapper::categoriesRow() const
{
return QBarModelMapper::categoriesSection();
}
void QHBarModelMapper::setCategoriesRow(int categoriesRow)
{
return QBarModelMapper::setCategoriesSection(categoriesRow);
}
#include "moc_qhbarmodelmapper.cpp"
QTCOMMERCIALCHART_END_NAMESPACE