Webhook test.
authordsc <dsc@less.ly>
Thu, 1 Mar 2012 01:17:29 +0000 (17:17 -0800)
committerdsc <dsc@less.ly>
Thu, 1 Mar 2012 01:17:29 +0000 (17:17 -0800)
lib/vis/vis-view.co
www/css/graph.styl
www/graph/root.yaml

index 18222d8..788aa80 100644 (file)
@@ -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
index 78ce592..d261cb6 100644 (file)
@@ -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%
index 9f51435..27790ae 100644 (file)
@@ -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