diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2014-09-09 20:13:20 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2014-09-09 20:13:20 +0200 |
commit | 86b2aeee83803adc2911252b2fb5cca7bbdbd34d (patch) | |
tree | 87d79ba89fbbd5325fe431469202951ceb84e6eb /static/js/kosten.js | |
parent | 365903c71a39733450adfdf6eb471019f8b6ff6f (diff) | |
download | kosten-86b2aeee83803adc2911252b2fb5cca7bbdbd34d.tar.gz kosten-86b2aeee83803adc2911252b2fb5cca7bbdbd34d.tar.bz2 kosten-86b2aeee83803adc2911252b2fb5cca7bbdbd34d.zip |
[stats] Allow clicking everywhere
Diffstat (limited to '')
-rw-r--r-- | static/js/kosten.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/static/js/kosten.js b/static/js/kosten.js index b0860b7..eea79dc 100644 --- a/static/js/kosten.js +++ b/static/js/kosten.js @@ -137,6 +137,20 @@ } } }, + chart: { + events: { + click: function(){ + var i$, ref$, len$, p; + for (i$ = 0, len$ = (ref$ = this.series[0].data).length; i$ < len$; ++i$) { + p = ref$[i$]; + if (p.state) { + constDialog.apply(p); + break; + } + } + } + } + }, xAxis: { minTickInterval: month, minRange: month |