From: dsc Date: Thu, 1 Mar 2012 01:17:29 +0000 (-0800) Subject: Webhook test. X-Git-Url: http://git.less.ly:3516/?a=commitdiff_plain;h=3287e9c41245543b1c1323dea3e0b795ec865bcd;p=kraken-ui.git Webhook test. --- diff --git a/lib/vis/vis-view.co b/lib/vis/vis-view.co index 18222d8..788aa80 100644 --- a/lib/vis/vis-view.co +++ b/lib/vis/vis-view.co @@ -112,9 +112,9 @@ VisView = exports.VisView = BaseView.extend do # {{{ @viewport.attr 'style', '' if (width = @model.get 'width') is 'auto' - width = @viewport.width() + width = @viewport.innerWidth() if (height = @model.get 'height') is 'auto' - height = @viewport.height() + height = @viewport.innerHeight() size = { width, height } @viewport.css size # console.log 'resizeViewport!', JSON.stringify(size), @viewport diff --git a/www/css/graph.styl b/www/css/graph.styl index 78ce592..d261cb6 100644 --- a/www/css/graph.styl +++ b/www/css/graph.styl @@ -10,7 +10,7 @@ section.graph .graph-label position absolute z-index 100 - top 1em + top 3em right 1em max-width 300px @@ -41,7 +41,7 @@ section.graph line-height 1.2 height 1.2em border-color $light - // width 50% + width 98% .row-fluid .half.control-group width 50% diff --git a/www/graph/root.yaml b/www/graph/root.yaml index 9f51435..27790ae 100644 --- a/www/graph/root.yaml +++ b/www/graph/root.yaml @@ -10,6 +10,7 @@ options : colors : [ "#FF0097", "#EF8158", "#83BB32", "#182B53", "#4596FF", "#553DC9", "#AD3238", "#00FFBC", "#F1D950" ] # colorSaturation : 1.0 # colorValue : 0.5 + rightGap : 20 animatedZooms : true # labels : Array labelsSeparateLines : true