Updates root preset and options; moves /graph/test -> /graph/view
authordsc <dsc@less.ly>
Thu, 1 Mar 2012 16:06:38 +0000 (08:06 -0800)
committerdsc <dsc@less.ly>
Thu, 1 Mar 2012 16:06:38 +0000 (08:06 -0800)
www/dashboard.jade
www/graph/edit.jade [new file with mode: 0644]
www/graph/presets/root.yaml [new file with mode: 0644]
www/graph/view.co [new file with mode: 0644]

index bb5be4c..47f7900 100644 (file)
@@ -1 +1 @@
-include graph/test
\ No newline at end of file
+include graph/edit
\ No newline at end of file
diff --git a/www/graph/edit.jade b/www/graph/edit.jade
new file mode 100644 (file)
index 0000000..5033daa
--- /dev/null
@@ -0,0 +1,10 @@
+extends ../layout
+
+block title
+    title Kraken: Graph Test Page
+
+append styles
+    mixin css('forms.css')
+    mixin css('graph.css')
+    mixin css('isotope.css')
+
diff --git a/www/graph/presets/root.yaml b/www/graph/presets/root.yaml
new file mode 100644 (file)
index 0000000..7526fe1
--- /dev/null
@@ -0,0 +1,48 @@
+# The root graph, holding defaults inherited by all graphs.
+
+dataset : '/data/non_mobile_pageviews_by.timestamp.language.csv'
+width   : 'auto'
+height  : 400
+options : 
+    # visibility                   : true
+    # stackedGraph                 : false
+    # fillGraph                    : false
+    colors                         : [ "#FF0097", "#EF8158", "#83BB32", "#182B53", "#4596FF", "#553DC9", "#AD3238", "#00FFBC", "#F1D950" ]
+    # colorSaturation              : 1.0
+    # colorValue                   : 0.5
+    rightGap                       : 20
+    animatedZooms                  : true
+    # labels                       : Array
+    labelsSeparateLines            : true
+    xlabel                         : Date
+    # logscale                     : false
+    axisLineColor                  : '#333333'
+    # axisTickSize                 : 3.0
+    axisLabelColor                 : '#333333'
+    # axisLabelFontSize            : 14
+    legend                         : always
+    labelsKMB                      : true
+    # labelsKMG2                   : false
+    digitsAfterDecimal             : 2
+    maxNumberWidth                 : 6
+    sigFigs                        : 3
+    # valueFormatter               : function(num or millis, opts, dygraph)
+    # showRoller                   : false
+    # rollPeriod                   : 1
+    # sigma                        : 2.0
+    # wilsonInterval               : true
+    # fillAlpha                    : 0.15
+    # customBars                   : false
+    # errorBars                    : false
+    # fractions                    : false
+    # delimiter                    : ','
+    # xValueParser                 : function(str) -> number
+    # drawXGrid                    : true
+    # drawYGrid                    : true
+    gridLineColor                  : '#eeeeee'
+    # gridLineWidth                : 0.3
+    # showRangeSelector            : false
+    # rangeSelectorHeight          : 40
+    # rangeSelectorPlotFillColor   : '#A7B1C4'
+    # rangeSelectorPlotStrokeColor : '#808FAB'
+    displayAnnotations             : true
diff --git a/www/graph/view.co b/www/graph/view.co
new file mode 100644 (file)
index 0000000..e69de29