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.ls12
1 files changed, 8 insertions, 4 deletions
diff --git a/static/js/kosten.ls b/static/js/kosten.ls
index 699fcd4..ea433a4 100644
--- a/static/js/kosten.ls
+++ b/static/js/kosten.ls
@@ -25,6 +25,7 @@ set-lang = !->
range-selector-from: \von
range-selector-to: \bis
range-selector-zoom: null
+ numeric-symbols: null
extend-date = (input) !->
if input.val! is //^
@@ -125,8 +126,7 @@ export statJS = jq !->
<-! $ \.stats .each
$ @
- ..highcharts 'StockChart' do
- title: text: null
+ ..highcharts \StockChart do
credits: enabled: false
range-selector:
buttons: []
@@ -141,6 +141,9 @@ export statJS = jq !->
plot-options:
series:
stacking: \normal
+ marker:
+ enabled: false
+ radius: 2
chart:
events:
click: !->
@@ -153,7 +156,9 @@ export statJS = jq !->
min-range: month
y-axis:
reversed-stacks: false
- tick-interval: 250
+ labels:
+ x: 5
+ align: \left
series: [
# const
* data: ..data \consts
@@ -166,7 +171,6 @@ export statJS = jq !->
step: \left
]
tooltip:
- shared: true
formatter: ->
header = "<span style=\"font-size: 10px\">#{df '%B %Y' @x}</span><br/>"
body = ["#{p.series.name}: <b>#{p.point.y} €</b><br/>" for p in @points] .join ''