Ero sivun ”Widget:Test4” versioiden välillä
Järvi-meriwikistä
Rivi 731: | Rivi 731: | ||
} | } | ||
− | memo.seriesA.push( { 'type': ' | + | memo.seriesA.push( { 'type': 'line', 'title': 'Running', 'color': 'green', 'size': 0, 'line': 2.33, 'legend': true, 'trendline': 'none', obses: [] } ); |
for ( var w in memo.avgWA ) { | for ( var w in memo.avgWA ) { | ||
memo.seriesA[ memo.seriesA.length - 1 ].obses.push( { | memo.seriesA[ memo.seriesA.length - 1 ].obses.push( { | ||
'x': memo.avgWA[ w ].cDate, | 'x': memo.avgWA[ w ].cDate, | ||
− | 'y': memo.avgWA[ w ].running + memo.avgWA[ w ].dev, | + | 'y': memo.avgWA[ w ].running + memo.avgWA[ w ].dev * 2, |
'style': null, | 'style': null, | ||
'tooltip': '', | 'tooltip': '', |