From 86b2aeee83803adc2911252b2fb5cca7bbdbd34d Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Tue, 9 Sep 2014 20:13:20 +0200 Subject: [stats] Allow clicking everywhere --- static/js/kosten.ls | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'static/js/kosten.ls') 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 -- cgit v1.2.3-70-g09d2