From f115fda61324a6525eae27164d02d0a215d68b5d Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Tue, 24 Sep 2013 14:43:04 +0200 Subject: Better pie formatting --- static/js/kosten.ls | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'static/js/kosten.ls') 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 ] ] -- cgit v1.2.3-70-g09d2