This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Merge pull request #510 from tylermauthe/tylermauthe-graph-fixlabels

Padding on Graph widget to avoid cropping labels
  • Loading branch information...
pushmatrix committed Jan 29, 2015
2 parents 6c6d71c + e16d474 commit f4b121e8dead69e02223ee9d50e431dbc7f5b3c5
Showing with 1 addition and 0 deletions.
  1. +1 −0 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')

0 comments on commit f4b121e

Please sign in to comment.