summaryrefslogtreecommitdiff
path: root/static/js/kosten.ls
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2013-09-24 14:43:04 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2013-09-24 14:43:04 +0200
commitf115fda61324a6525eae27164d02d0a215d68b5d (patch)
treedd92e99078723564509b870af4738543928454b5 /static/js/kosten.ls
parentc6f4dd24adee00828f0b54cf99fb3c51302c0c9c (diff)
downloadkosten-f115fda61324a6525eae27164d02d0a215d68b5d.tar.gz
kosten-f115fda61324a6525eae27164d02d0a215d68b5d.tar.bz2
kosten-f115fda61324a6525eae27164d02d0a215d68b5d.zip
Better pie formatting
Diffstat (limited to '')
-rw-r--r--static/js/kosten.ls5
1 files changed, 3 insertions, 2 deletions
diff --git a/static/js/kosten.ls b/static/js/kosten.ls
index fa96f4a..e3be0b8 100644
--- a/static/js/kosten.ls
+++ b/static/js/kosten.ls
@@ -37,14 +37,15 @@ export showJS = jq ->
backgroundColor: null
plotBorderWidth: null
plotShadow: off
- margin: [0,0,0,0]
+ spacingTop: 0
credits: enabled: false
series: [
type: \pie
- size: \50%
+ size: \70%
allowPointSelect: true
dataLabels:
color: ..css \color
+ distance: 20
data: [ {name: if v>0 then k else '' , y: v, visible: v > 0} \
for k,v of ..data \pie ]
]