##// 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:

r1310:3b689b88a3df
r1327:39a357025ee6
Show More
qhxymodelmapper.cpp
33 lines | 607 B | text/x-c | CppLexer
#include "qhxymodelmapper.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
QHXYModelMapper::QHXYModelMapper(QObject *parent) :
QXYModelMapper(parent)
{
QXYModelMapper::setOrientation(Qt::Horizontal);
}
int QHXYModelMapper::xRow() const
{
return QXYModelMapper::xSection();
}
void QHXYModelMapper::setXRow(int xRow)
{
return QXYModelMapper::setXSection(xRow);
}
int QHXYModelMapper::yRow() const
{
return QXYModelMapper::ySection();
}
void QHXYModelMapper::setYRow(int yRow)
{
return QXYModelMapper::setYSection(yRow);
}
#include "moc_qhxymodelmapper.cpp"
QTCOMMERCIALCHART_END_NAMESPACE