##// END OF EJS Templates
floating values working now. bounding rect bug fixed
floating values working now. bounding rect bug fixed

File last commit:

r216:abacdc3682d1
r273:108ca5a00d74
Show More
qbarchartseries.cpp
69 lines | 1.1 KiB | text/x-c | CppLexer
/ src / barchart / qbarchartseries.cpp
sauimone
Improved bar chart series
r71 #include <QDebug>
sauimone
Common naming convention for barcharts
r216 #include "qbarchartseries.h"
sauimone
removed barchartseriesbase. functionality is now in model
r172 #include "qbarcategory.h"
#include "qbarset.h"
#include "barchartmodel_p.h"
sauimone
refactored barcharts. layout to derived classess other funtionality to base class
r126
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56 QTCOMMERCIALCHART_BEGIN_NAMESPACE
sauimone
Common naming convention for barcharts
r216 QBarChartSeries::QBarChartSeries(QBarCategory *category, QObject *parent)
sauimone
removed barchartseriesbase. functionality is now in model
r172 : QChartSeries(parent)
,mModel(new BarChartModel(category, this))
sauimone
Improved bar chart series
r71 {
}
sauimone
Common naming convention for barcharts
r216 void QBarChartSeries::addBarSet(QBarSet *set)
sauimone
Barset and barcategory implememtation. Updated test application
r171 {
sauimone
removed barchartseriesbase. functionality is now in model
r172 mModel->addBarSet(set);
sauimone
Barset and barcategory implememtation. Updated test application
r171 }
sauimone
Common naming convention for barcharts
r216 void QBarChartSeries::removeBarSet(QBarSet *set)
sauimone
Barset and barcategory implememtation. Updated test application
r171 {
sauimone
removed barchartseriesbase. functionality is now in model
r172 mModel->removeBarSet(set);
}
sauimone
Common naming convention for barcharts
r216 int QBarChartSeries::countSets()
sauimone
Added pen & brush to QBarSet
r214 {
return mModel->countSets();
}
sauimone
Common naming convention for barcharts
r216 QBarSet* QBarChartSeries::nextSet(bool getFirst)
sauimone
Added pen & brush to QBarSet
r214 {
return mModel->nextSet(getFirst);
}
sauimone
Common naming convention for barcharts
r216 int QBarChartSeries::countCategories()
sauimone
removed barchartseriesbase. functionality is now in model
r172 {
return mModel->countCategories();
}
sauimone
Common naming convention for barcharts
r216 qreal QBarChartSeries::min()
sauimone
removed barchartseriesbase. functionality is now in model
r172 {
return mModel->min();
}
sauimone
Common naming convention for barcharts
r216 qreal QBarChartSeries::max()
sauimone
removed barchartseriesbase. functionality is now in model
r172 {
return mModel->max();
sauimone
Barset and barcategory implememtation. Updated test application
r171 }
sauimone
Common naming convention for barcharts
r216 qreal QBarChartSeries::valueAt(int set, int category)
sauimone
removed barchartseriesbase. functionality is now in model
r172 {
return mModel->valueAt(set,category);
}
sauimone
Common naming convention for barcharts
r216 qreal QBarChartSeries::maxCategorySum()
sauimone
removed barchartseriesbase. functionality is now in model
r172 {
return mModel->maxCategorySum();
}
sauimone
Common naming convention for barcharts
r216 BarChartModel& QBarChartSeries::model()
sauimone
removed barchartseriesbase. functionality is now in model
r172 {
return *mModel;
}
sauimone
Common naming convention for barcharts
r216 #include "moc_qbarchartseries.cpp"
sauimone
Improved bar chart series
r71
sauimone
Integrating bar chart. Cleaned up old implementation. TODO: show this in test application. how?
r56 QTCOMMERCIALCHART_END_NAMESPACE