diff options
author | Tyler Mauthe <me@tylermauthe.com> | 2015-01-28 21:23:08 -0700 |
---|---|---|
committer | Tyler Mauthe <me@tylermauthe.com> | 2015-01-28 21:23:08 -0700 |
commit | e16d4741510a674baedb498fa48d4c4971bda0d9 (patch) | |
tree | 2f4339ce90469fd4533ecb5f53d0c04bd9c51162 /templates/project/widgets | |
parent | 6c6d71cee1056be596af40921761eeebee368828 (diff) |
Padding on Graph widget to avoid cropping labels
Fixes #484
Diffstat (limited to 'templates/project/widgets')
-rw-r--r-- | templates/project/widgets/graph/graph.coffee | 1 |
1 files changed, 1 insertions, 0 deletions
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') |