Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 396: | Rivi 396: | ||
memo.seriesO[ 'icecover' ] = { 'type': 'candlestick', obses: [] }; | memo.seriesO[ 'icecover' ] = { 'type': 'candlestick', obses: [] }; | ||
} | } | ||
memo.seriesO[ 'icecover' ].obses.push( { 'xvalue': obs.seasonmiddle, 'low': memo.obsesS[ obs.season ][ 'low' ], 'high': memo.obsesS[ obs.season ][ 'high' ], ' | memo.seriesO[ 'icecover' ].obses.push( { 'xvalue': obs.seasonmiddle, 'low': memo.obsesS[ obs.season ][ 'low' ], 'high': memo.obsesS[ obs.season ][ 'high' ], 'tooltip': 'Talvi xxxx-yyyy<br/>Jääpeiteaika: ' + Math.round( ( memo.obsesS[ obs.season ][ 'high' ].getTime() - memo.obsesS[ obs.season ][ 'low' ].getTime() ) / ( 1000*60*60*24 ) ) + ' päivää' } ); | ||
} | } | ||
} | } | ||
| Rivi 451: | Rivi 451: | ||
dataRow[ st+3 ] = obs.high; | dataRow[ st+3 ] = obs.high; | ||
dataRow[ st+4 ] = obs.high; | dataRow[ st+4 ] = obs.high; | ||
dataRow[ st+5 ] = | dataRow[ st+5 ] = obs.tooltip; | ||
} else if ( memo.seriesA[ s ].type == 'scatter' ) { | } else if ( memo.seriesA[ s ].type == 'scatter' ) { | ||


