projects
/
harbour-pedalo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add graph animation; support for line graphs
[harbour-pedalo.git]
/
src
/
stats.cpp
diff --git
a/src/stats.cpp
b/src/stats.cpp
index
1a80ab2
..
d8b92a9
100644
(file)
--- a/
src/stats.cpp
+++ b/
src/stats.cpp
@@
-22,8
+22,12
@@
QStringList Stats::getLabels() const {
return labels;
}
return labels;
}
-QList<float> Stats::getValues() const {
- return values;
+QList<float> Stats::getBarValues() const {
+ return barvalues;
+}
+
+QList<float> Stats::getLineValues() const {
+ return linevalues;
}
QString Stats::getUnits() const {
}
QString Stats::getUnits() const {
@@
-50,8
+54,12
@@
void Stats::setLabels(QStringList &value) {
labels = value;
}
labels = value;
}
-void Stats::setValues(QList<float> &value) {
- values = value;
+void Stats::setBarValues(QList<float> &value) {
+ barvalues = value;
+}
+
+void Stats::setLineValues(QList<float> &value) {
+ linevalues = value;
}
void Stats::setUnits(QString &value) {
}
void Stats::setUnits(QString &value) {