##// END OF EJS Templates
Minor fix to pie model mapper
Minor fix to pie model mapper

File last commit:

r1312:0b557819e7a2
r1330:80cc71f77e52
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