Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 28: | Rivi 28: | ||
if ( typeof memo.chartEl.prop( 'id' ) == 'undefined' ) { memo.chartEl.prop( 'id', 'jwChart_' + now.getTime() ); } | if ( typeof memo.chartEl.prop( 'id' ) == 'undefined' ) { memo.chartEl.prop( 'id', 'jwChart_' + now.getTime() ); } | ||
memo.chartEl.css( 'position': 'relative' ); | |||
memo.chartEl.append( '<div class="jwloading"></div>' ); | memo.chartEl.append( '<div class="jwloading"></div>' ); | ||
console.log( chartEl.attributes ); | |||
memo.jw = new jwApi(); | memo.jw = new jwApi(); | ||
| Rivi 110: | Rivi 113: | ||
vAxis: { format: 'MMM' } | vAxis: { format: 'MMM' } | ||
}; | }; | ||
memo.chart = new google.visualization.CandlestickChart( memo.chartEl[0] ); | memo.chart = new google.visualization.CandlestickChart( memo.chartEl[0] ); | ||
memo.chart.draw( memo.dataTable, memo.options); | memo.chart.draw( memo.dataTable, memo.options); | ||


