js: comment out onzoomed
authorgregor herrmann <gregor@toastfreeware.priv.at>
Sun, 26 Aug 2018 19:45:08 +0000 (21:45 +0200)
committergregor herrmann <gregor@toastfreeware.priv.at>
Sun, 26 Aug 2018 19:45:08 +0000 (21:45 +0200)
never really worked, and now is confusing with consolidated data

web/static/seepark_web.js

index 75c362b..b2e5a32 100644 (file)
@@ -94,6 +94,7 @@ function dayschart(element, title, days, xtickformat) {
                },
                zoom: {
                        enabled: true,
+                       /*
                        onzoomend: function (domain) {
                                // UNIX epoch
                                var start = domain[0].getTime()/1000;
@@ -106,6 +107,7 @@ function dayschart(element, title, days, xtickformat) {
                                        loaddays(this, element, days); // this = chart
                                }
                        }
+                       */
                },
                tooltip: {
                        format: {