summaryrefslogtreecommitdiff
path: root/static/js/kosten.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--static/js/kosten.js14
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