summaryrefslogtreecommitdiff
path: root/static/js
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2014-09-09 15:18:29 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2014-09-09 15:18:29 +0200
commit365903c71a39733450adfdf6eb471019f8b6ff6f (patch)
treed917bf8a115a27abf5dffb437b9ffd298559f2de /static/js
parentc941c29b7a212dbe17801649a2fdaac6b065799a (diff)
downloadkosten-365903c71a39733450adfdf6eb471019f8b6ff6f.tar.gz
kosten-365903c71a39733450adfdf6eb471019f8b6ff6f.tar.bz2
kosten-365903c71a39733450adfdf6eb471019f8b6ff6f.zip
Use step for stat plot
Diffstat (limited to 'static/js')
-rw-r--r--static/js/kosten.js3
-rw-r--r--static/js/kosten.ls3
2 files changed, 4 insertions, 2 deletions
diff --git a/static/js/kosten.js b/static/js/kosten.js
index ccb3d6a..b0860b7 100644
--- a/static/js/kosten.js
+++ b/static/js/kosten.js
@@ -142,7 +142,8 @@
minRange: month
},
series: [{
- data: x$.data('stats')
+ data: x$.data('stats'),
+ step: 'left'
}],
tooltip: {
pointFormat: '<b>{point.y} €</b><br/>'
diff --git a/static/js/kosten.ls b/static/js/kosten.ls
index 52996d6..a3e19e7 100644
--- a/static/js/kosten.ls
+++ b/static/js/kosten.ls
@@ -107,7 +107,8 @@ export statJS = jq !->
min-tick-interval: month
min-range: month
series: [
- data : ..data \stats
+ data: ..data \stats
+ step: \left
]
tooltip:
point-format: '<b>{point.y} €</b><br/>'