##// END OF EJS Templates
Barset and barcategory implememtation. Updated test application
Barset and barcategory implememtation. Updated test application

File last commit:

r171:d4b8c60ed973
r171:d4b8c60ed973
Show More
qbarset.cpp
35 lines | 443 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);
}
QTCOMMERCIALCHART_END_NAMESPACE