Ero sivun ”Widget:XJwCharts” versioiden välillä
Järvi-meriwikistä
Rivi 1: | Rivi 1: | ||
<includeonly> | <includeonly> | ||
− | <!--Load | + | <!--Load things --> |
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script> | <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script> | ||
+ | <script type="text/javascript" src="https://www.jarviwiki.fi/citobsjs/jwapi.js"></script> | ||
+ | |||
<script type="text/javascript"> | <script type="text/javascript"> | ||
Rivi 17: | Rivi 19: | ||
function readytogo() { | function readytogo() { | ||
+ | |||
+ | var new jw = new jwApi(); | ||
+ | |||
+ | jw.loadobses( { 'obscode': 'ice', 'siteid': '284245' }, function( o ) { | ||
+ | |||
+ | console.log( o ); | ||
+ | |||
+ | ); | ||
var data = google.visualization.arrayToDataTable([ | var data = google.visualization.arrayToDataTable([ |