diff options
author | Daniel Beauchamp <daniel.beauchamp@gmail.com> | 2015-01-29 11:27:15 -0500 |
---|---|---|
committer | Daniel Beauchamp <daniel.beauchamp@gmail.com> | 2015-01-29 11:27:15 -0500 |
commit | f4b121e8dead69e02223ee9d50e431dbc7f5b3c5 (patch) | |
tree | 2f4339ce90469fd4533ecb5f53d0c04bd9c51162 /templates/project/widgets/graph/graph.coffee | |
parent | 6c6d71cee1056be596af40921761eeebee368828 (diff) | |
parent | e16d4741510a674baedb498fa48d4c4971bda0d9 (diff) |
Merge pull request #510 from tylermauthe/tylermauthe-graph-fixlabels
Padding on Graph widget to avoid cropping labels
Diffstat (limited to 'templates/project/widgets/graph/graph.coffee')
-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') |