Ero sivun ”Widget:XJwCharts” versioiden välillä
Järvi-meriwikistä
Rivi 56: | Rivi 56: | ||
} | } | ||
− | console.log( data ); | + | //console.log( data ); |
var table = []; | var table = []; | ||
Rivi 62: | Rivi 62: | ||
for ( var o in data ) { | for ( var o in data ) { | ||
− | var row = [ o, data[o].freeze.getDayOfYear(), data[o].freeze.getDayOfYear(), data[o].breakup.getDayOfYear(), data[o].breakup.getDayOfYear() ]; | + | console.log( o ); |
+ | console.log( data[o].freeze); | ||
+ | console.log( data[o].breakup); | ||
+ | |||
+ | //var row = [ o, data[o].freeze.getDayOfYear(), data[o].freeze.getDayOfYear(), data[o].breakup.getDayOfYear(), data[o].breakup.getDayOfYear() ]; | ||
table.push( row ); | table.push( row ); | ||
} | } |