|
|
| Rivi 1: |
Rivi 1: |
| <includeonly>
| | <includeonly> |
| | <script type="text/javascript"> |
| | |
| | function() { |
|
| |
|
| <div style="height: 300px;" class="jwsitegraphwidget"
| | function <!--{$id|default:TheGraph|escape:'html'}-->_jQueryTest() { |
| Xdata-jw-siteid="229068" | | if ( typeof window.jQuery == 'undefined' ) { |
| Xdata-jw-siteid="152374"
| | setTimeout( function(){ <!--{$id|default:TheGraph|escape:'html'}-->_jQueryTest() }, 300); |
| data-jw-siteid="169426"
| |
| Xdata-jw-siteid="170037"
| |
| data-jw-obscode="temp"
| |
| Xdata-coo311-service_code="algaebloom_service_code_201808151546171"
| |
| data-graph-type="season"
| |
| data-lang="fi"
| |
| Xdata-trend-type="moving"
| |
| Xdata-show-trend="false"
| |
| ></div>
| |
| | |
| <div style="height: 300px;" class="jwsitegraphwidget"
| |
| data-jw-siteid="229068"
| |
| Xdata-jw-siteid="152374"
| |
| Xdata-jw-siteid="169426"
| |
| Xdata-jw-siteid="170037"
| |
| data-jw-obscode="level"
| |
| Xdata-coo311-service_code="algaebloom_service_code_201808151546171"
| |
| data-graph-type="season"
| |
| data-lang="fi"
| |
| Xdata-trend-type="moving"
| |
| Xdata-show-trend="false"
| |
| ></div>
| |
| | |
| | |
| <div style="height: 300px;" class="jwsitegraphwidget"
| |
| Xdata-jw-siteid="229068"
| |
| Xdata-jw-siteid="152374"
| |
| Xdata-jw-siteid="169426"
| |
| Xdata-jw-siteid="170037"
| |
| data-jw-siteid="254464"
| |
| data-jw-obscode="alg"
| |
| Xdata-coo311-service_code="algaebloom_service_code_201808151546171"
| |
| data-graph-type="season"
| |
| data-lang="fi"
| |
| Xdata-trend-type="moving"
| |
| Xdata-show-trend="false"
| |
| ></div>
| |
| | |
| <div style="height: 300px;" class="jwsitegraphwidget"
| |
| Xdata-jw-siteid="169483"
| |
| Xdata-jw-siteid="152374"
| |
| data-jw-siteid="169426"
| |
| data-jw-obscode="ice"
| |
| Xdata-coo311-service_code="algaebloom_service_code_201808151546171"
| |
| data-graph-type="season"
| |
| data-lang="fi"
| |
| Xdata-trend-type="moving"
| |
| Xdata-show-trend="false"
| |
| ></div>
| |
| | |
| <div style="height: 300px;" class="jwsitegraphwidget"
| |
| Xdata-jw-siteid="229068"
| |
| Xdata-jw-siteid="152374"
| |
| data-jw-siteid="169426"
| |
| data-jw-obscode="ice_cat_5"
| |
| Xdata-coo311-service_code="algaebloom_service_code_201808151546171"
| |
| data-graph-type="dateofyear"
| |
| data-lang="fi"
| |
| Xdata-trend-type="gaussian"
| |
| Xdata-show-trend="false"
| |
| ></div>
| |
| | |
| <div style="height: 300px;" class="jwsitegraphwidget"
| |
| Xdata-jw-siteid="229068"
| |
| Xdata-jw-siteid="152374"
| |
| data-jw-siteid="169426"
| |
| data-jw-obscode="secchi"
| |
| Xdata-coo311-service_code="algaebloom_service_code_201808151546171"
| |
| data-graph-type="season"
| |
| data-lang="fi"
| |
| Xdata-trend-type="gaussian"
| |
| data-show-trend="true"
| |
| ></div>
| |
| | |
| <div style="height: 300px;" class="jwsitegraphwidget"
| |
| Xdata-jw-siteid="229068"
| |
| Xdata-jw-siteid="152374"
| |
| data-jw-siteid="169426"
| |
| data-jw-obscode="secchi"
| |
| Xdata-coo311-service_code="algaebloom_service_code_201808151546171"
| |
| data-graph-type="trend"
| |
| data-lang="fi"
| |
| Xdata-trend-type="linear"
| |
| data-show-trend="true"
| |
| ></div><script type="text/javascript">
| |
| | |
| (function() {
| |
| | |
| // globals
| |
| var jQuery; var today = new Date();
| |
| | |
| // check for jQuery version
| |
| var compareInt = 0;
| |
| if (typeof window.jQuery.fn.jquery !== 'undefined') {
| |
| var versionA = window.jQuery.fn.jquery.split( '.' );
| |
| compareInt = parseInt(versionA[0])*10000 + parseInt(versionA[1])*100 + parseInt(versionA[2]);
| |
| }
| |
| | |
| if (compareInt < 10803 ) {
| |
| var script_tag = document.createElement('script');
| |
| script_tag.setAttribute("type","text/javascript");
| |
| script_tag.setAttribute("src", "//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js");
| |
| if (script_tag.readyState) {
| |
| script_tag.onreadystatechange = function () { // For old versions of IE
| |
| if (this.readyState == 'complete' || this.readyState == 'loaded') { scriptLoadHandler(); }
| |
| };
| |
| } else { | | } else { |
| script_tag.onload = scriptLoadHandler; | | <!--{$id|default:TheGraph|escape:'html'}-->_func(); |
| } | | } |
| (document.getElementsByTagName("head")[0] || document.documentElement).appendChild(script_tag);
| |
| } else {
| |
| jQuery = window.jQuery; jQueryReady();
| |
| } | | } |
| | setTimeout( function(){ <!--{$id|default:TheGraph|escape:'html'}-->_jQueryTest() }, 300); |
|
| |
|
| function scriptLoadHandler() { | | function <!--{$id|default:TheGraph|escape:'html'}-->_func() { |
| jQuery = window.jQuery.noConflict();
| |
| if (typeof $ == 'undefined') { $ = jQuery; }
| |
| jQueryReady();
| |
| }
| |
| | |
| function jQueryReady() {
| |
|
| |
|
| css_link = jQuery( "<link>", { rel: "stylesheet", type: "text/css", href: "//www.jarviwiki.fi/widgets/css/obschartwidget.css?ver=1" }); | | css_link = jQuery( "<link>", { rel: "stylesheet", type: "text/css", href: "//www.jarviwiki.fi/widgets/css/obschartwidget.css?ver=1" }); |
| Rivi 130: |
Rivi 19: |
|
| |
|
| jQuery.getScript( "https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.9.1/underscore-min.js", function() { | | jQuery.getScript( "https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.9.1/underscore-min.js", function() { |
| | | jQuery.getScript( '//www.gstatic.com/charts/loader.js', function() { |
| jQuery.getScript( '//www.gstatic.com/charts/loader.js', function() {
| | google.charts.load( 'current', {'packages':['corechart']} ); |
| google.charts.load( 'current', {'packages':['corechart']} );
| | google.charts.setOnLoadCallback( loadObservations ); |
| google.charts.setOnLoadCallback( loadObservations );
| | }); |
| });
| |
| | |
| }); | | }); |
| } | | } |
| Rivi 1 530: |
Rivi 1 417: |
| } | | } |
| }; | | }; |
|
| |
|
| |
|
| })(); // We call our anonymous function immediately | | })(); // We call our anonymous function immediately |
|
| |
|
| </script>
| | </script> |
| | | </includeonly> |
| </includeonly>
| |