##// 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
qvbarmodelmapper.cpp
43 lines | 996 B | text/x-c | CppLexer
#include "qvbarmodelmapper.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
QVBarModelMapper::QVBarModelMapper(QObject *parent) :
QBarModelMapper(parent)
{
QBarModelMapper::setOrientation(Qt::Vertical);
}
int QVBarModelMapper::firstBarSetColumn() const
{
return QBarModelMapper::firstBarSetSection();
}
void QVBarModelMapper::setFirstBarSetColumn(int firstBarSetColumn)
{
return QBarModelMapper::setFirstBarSetSection(firstBarSetColumn);
}
int QVBarModelMapper::lastBarSetColumn() const
{
return QBarModelMapper::lastBarSetSection();
}
void QVBarModelMapper::setLastBarSetColumn(int lastBarSetColumn)
{
return QBarModelMapper::setLastBarSetSection(lastBarSetColumn);
}
int QVBarModelMapper::categoriesColumn() const
{
return QBarModelMapper::categoriesSection();
}
void QVBarModelMapper::setCategoriesColumn(int categoriesColumn)
{
return QBarModelMapper::setCategoriesSection(categoriesColumn);
}
#include "moc_qvbarmodelmapper.cpp"
QTCOMMERCIALCHART_END_NAMESPACE