diff options
Diffstat (limited to 'templates/project/widgets/graph')
-rw-r--r-- | templates/project/widgets/graph/graph.coffee | 1 | ||||
-rw-r--r-- | templates/project/widgets/graph/graph.html | 2 |
2 files changed, 2 insertions, 1 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') diff --git a/templates/project/widgets/graph/graph.html b/templates/project/widgets/graph/graph.html index 456dd0f..786bbb7 100644 --- a/templates/project/widgets/graph/graph.html +++ b/templates/project/widgets/graph/graph.html @@ -1,5 +1,5 @@ <h1 class="title" data-bind="title"></h1> -<h2 class="value" data-bind="current | prettyNumber | prepend prefix"></h2> +<h2 class="value" data-bind="current | prettyNumber | prepend prefix | append suffix"></h2> <p class="more-info" data-bind="moreinfo"></p> |