summaryrefslogtreecommitdiff
path: root/static/js/kosten.ls
diff options
context:
space:
mode:
Diffstat (limited to 'static/js/kosten.ls')
-rw-r--r--static/js/kosten.ls8
1 files changed, 7 insertions, 1 deletions
diff --git a/static/js/kosten.ls b/static/js/kosten.ls
index a3e19e7..3327ff3 100644
--- a/static/js/kosten.ls
+++ b/static/js/kosten.ls
@@ -84,7 +84,6 @@ export statJS = jq !->
$ data .dialog do
title: df '%B %Y' time
-
<-! $ \.stats .each
$ @
..highcharts 'StockChart' do
@@ -103,6 +102,13 @@ export statJS = jq !->
plot-options:
series:
point: events: click: const-dialog
+ chart:
+ events:
+ click: !->
+ for p in @series.0.data
+ if p.state
+ const-dialog.apply p
+ break
x-axis:
min-tick-interval: month
min-range: month