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
/
statsweekdaycongestion.cpp
diff --git
a/src/statsweekdaycongestion.cpp
b/src/statsweekdaycongestion.cpp
index
c4842b3
..
3e19192
100644
(file)
--- a/
src/statsweekdaycongestion.cpp
+++ b/
src/statsweekdaycongestion.cpp
@@
-16,7
+16,7
@@
void StatsWeekdayCongestion::update() {
int pos;
qDebug() << "Calculating values";
int pos;
qDebug() << "Calculating values";
- values.clear();
+ barvalues.clear();
for (pos = 0; pos < 7; pos++) {
passed[pos] = 0u;
for (pos = 0; pos < 7; pos++) {
passed[pos] = 0u;
@@
-42,7
+42,7
@@
void StatsWeekdayCongestion::update() {
if (result > maxval) {
maxval = result;
}
if (result > maxval) {
maxval = result;
}
- values << result;
+ barvalues << result;
}
step = maxval > 5.0 ? qRound(maxval / 5.0) : (maxval / 5.0);
}
step = maxval > 5.0 ? qRound(maxval / 5.0) : (maxval / 5.0);