dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #31662
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 16168: DV, fixed bug with trend lines not loading
------------------------------------------------------------
revno: 16168
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2014-07-18 12:29:27 +0200
message:
DV, fixed bug with trend lines not loading
modified:
dhis-2/dhis-web/dhis-web-visualizer/src/main/webapp/dhis-web-visualizer/app/scripts/core.js
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-visualizer/src/main/webapp/dhis-web-visualizer/app/scripts/core.js'
--- dhis-2/dhis-web/dhis-web-visualizer/src/main/webapp/dhis-web-visualizer/app/scripts/core.js 2014-06-24 10:35:15 +0000
+++ dhis-2/dhis-web/dhis-web-visualizer/src/main/webapp/dhis-web-visualizer/app/scripts/core.js 2014-07-18 10:29:27 +0000
@@ -1839,8 +1839,7 @@
key = conf.finals.data.trendLine + columnIds[i];
for (var j = 0, value; j < data.length; j++) {
- value = data[j][replacedColumnIds[i]];
- regression.addData(j, parseFloat(value));
+ regression.addData(j, data[j][columnIds[i]]);
}
for (var j = 0; j < data.length; j++) {