Test
Aus Wiki1
(Unterschied zwischen Versionen)
Zeile 38: | Zeile 38: | ||
var values = []; | var values = []; | ||
for (var i=0; i<points.length; i++) { | for (var i=0; i<points.length; i++) { | ||
- | + | values.push(temp(points[i][0], points[i][1], time)); | |
- | + | } | |
- | + | heatmap.updateData(values); | |
- | if (time >= 2) clearInterval(interval); | + | if (time >= 2) {clearInterval(interval); |
}, 100); | }, 100); | ||