Ero sivun ”Widget:JwObsCharts” versioiden välillä
Järvi-meriwikistä
Rivi 315: | Rivi 315: | ||
memo.jwR.loadObses( { "obscode": memo.refcode, "siteid": memo.siteid, "sort": "SiteID", "custom": memo.reffilter }, function( r ) { | memo.jwR.loadObses( { "obscode": memo.refcode, "siteid": memo.siteid, "sort": "SiteID", "custom": memo.reffilter }, function( r ) { | ||
memo.refs = memo.jwR.obs; | memo.refs = memo.jwR.obs; | ||
− | console.log( JSON.stringify( memo.refs ) ); | + | //console.log( JSON.stringify( memo.refs ) ); |
drawVisualization(memo); | drawVisualization(memo); | ||
}); | }); | ||
Rivi 609: | Rivi 609: | ||
obs = memo.obsesA[0]; | obs = memo.obsesA[0]; | ||
//ref = memo.refs[0]; | //ref = memo.refs[0]; | ||
− | console.log( memo | + | console.log( memo ); |
ref = 0; | ref = 0; | ||