##// END OF EJS Templates
brush support for bargroups
brush support for bargroups

File last commit:

r183:45734e367adb
r183:45734e367adb
Show More
qbarset.cpp
41 lines | 566 B | text/x-c | CppLexer
#include "qbarset.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
QBarSet::QBarSet()
{
}
void QBarSet::setName(QString name)
{
mName = name;
}
QString QBarSet::name()
{
return mName;
}
QBarSet& QBarSet::operator << (const qreal &value)
{
mValues.append(value);
return *this;
}
int QBarSet::count()
{
return mValues.count();
}
qreal QBarSet::valueAt(int index)
{
return mValues.at(index);
}
void QBarSet::setValue(int index, qreal value)
{
mValues.replace(index,value);
}
//TODO?:
//#include "moc_qbarset.cpp"
QTCOMMERCIALCHART_END_NAMESPACE