Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 11: | Rivi 11: | ||
function <!--{$id|default:algalbarochart|escape:'html'}-->_jQueryTest() { | function <!--{$id|default:algalbarochart|escape:'html'}-->_jQueryTest() { | ||
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 21: | Rivi 20: | ||
function <!--{$id|default:algalbarochart|escape:'html'}-->_func() { | function <!--{$id|default:algalbarochart|escape:'html'}-->_func() { | ||
// 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 31: | Rivi 29: | ||
function <!--{$id|default:algalbarochart|escape:'html'}-->_init() { | function <!--{$id|default:algalbarochart|escape:'html'}-->_init() { | ||
var today = new Date(); | var today = new Date(); | ||
var vuosi = <!--{$vuosi|default:0|escape:'html'}-->; | var vuosi = <!--{$vuosi|default:0|escape:'html'}-->; | ||


