##// END OF EJS Templates
Merge branch 'master' of https://git.it.local/repos/QtCommercialDevel-13049/charts Conflicts: example/example.pro

File last commit:

r173:5bd6f6e4373b
r207:1bc0eafcd96e merge
Show More
qbarcategory.cpp
27 lines | 418 B | text/x-c | CppLexer
sauimone
proof of concept implementation for barset and barcategory
r169 #include "qbarcategory.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
QBarCategory::QBarCategory()
{
}
QBarCategory& QBarCategory::operator << (const QString &label)
{
mList.append(label);
return *this;
}
int QBarCategory::count()
{
return mList.count();
}
sauimone
removed barchartseriesbase. functionality is now in model
r172 QString QBarCategory::label(int category)
sauimone
proof of concept implementation for barset and barcategory
r169 {
sauimone
removed barchartseriesbase. functionality is now in model
r172 return mList.at(category);
sauimone
proof of concept implementation for barset and barcategory
r169 }
sauimone
fixed bug in category implementation. model now owns the category and sets
r173 // TODO?:
//#include "moc_qbarcategory.cpp"
sauimone
proof of concept implementation for barset and barcategory
r169 QTCOMMERCIALCHART_END_NAMESPACE