Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 11: | Rivi 11: | ||
function <!--{$id|default:algalbarochart|escape:'html'}-->_jQueryTest() { | function <!--{$id|default:algalbarochart|escape:'html'}-->_jQueryTest() { | ||
console.log( 'baro 1' ); | |||
if ( typeof window.jQuery == 'undefined' || typeof queryApi == 'undefined' ) { | if ( typeof window.jQuery == 'undefined' || typeof queryApi == 'undefined' ) { | ||
setTimeout( function(){ <!--{$id|default:algalbarochart|escape:'html'}-->_jQueryTest() }, 300); | setTimeout( function(){ <!--{$id|default:algalbarochart|escape:'html'}-->_jQueryTest() }, 300); | ||
| Rivi 20: | Rivi 21: | ||
function <!--{$id|default:algalbarochart|escape:'html'}-->_func() { | function <!--{$id|default:algalbarochart|escape:'html'}-->_func() { | ||
console.log( 'baro 2' ); | |||
// Load the Visualization API and the corechart package. | // Load the Visualization API and the corechart package. | ||
google.charts.load('current', {'packages':['corechart'] }); | google.charts.load('current', {'packages':['corechart'] }); | ||
| Rivi 30: | Rivi 31: | ||
function <!--{$id|default:algalbarochart|escape:'html'}-->_init() { | function <!--{$id|default:algalbarochart|escape:'html'}-->_init() { | ||
console.log( 'baro' ); | console.log( 'baro 3' ); | ||
var today = new Date(); | var today = new Date(); | ||
var vuosi = <!--{$vuosi|default:0|escape:'html'}-->; | var vuosi = <!--{$vuosi|default:0|escape:'html'}-->; | ||


