Skip to content
This repository has been archived by the owner on Mar 7, 2018. It is now read-only.

Commit

Permalink
Merge pull request #510 from tylermauthe/tylermauthe-graph-fixlabels
Browse files Browse the repository at this point in the history
Padding on Graph widget to avoid cropping labels
  • Loading branch information
pushmatrix committed Jan 29, 2015
2 parents 6c6d71c + e16d474 commit f4b121e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/project/widgets/graph/graph.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit f4b121e

Please sign in to comment.