##// END OF EJS Templates
enablers for tooltip and floating values, bug fixing, updated examples. tidying up the code
enablers for tooltip and floating values, bug fixing, updated examples. tidying up the code

File last commit:

r173:5bd6f6e4373b
r296:8254aab7233d
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