From e16d4741510a674baedb498fa48d4c4971bda0d9 Mon Sep 17 00:00:00 2001 From: Tyler Mauthe Date: Wed, 28 Jan 2015 21:23:08 -0700 Subject: Padding on Graph widget to avoid cropping labels Fixes #484 --- templates/project/widgets/graph/graph.coffee | 1 + 1 file changed, 1 insertion(+) (limited to 'templates') diff --git a/templates/project/widgets/graph/graph.coffee b/templates/project/widgets/graph/graph.coffee index 28ce88e..5d6b9ab 100644 --- a/templates/project/widgets/graph/graph.coffee +++ b/templates/project/widgets/graph/graph.coffee @@ -22,6 +22,7 @@ class Dashing.Graph extends Dashing.Widget data: [{x:0, y:0}] } ] + padding: {top: 0.02, left: 0.02, right: 0.02, bottom: 0.02} ) @graph.series[0].data = @get('points') if @get('points') -- cgit v1.2.3