Adds root graph presets.
authordsc <dsc@less.ly>
Wed, 29 Feb 2012 19:36:37 +0000 (11:36 -0800)
committerdsc <dsc@less.ly>
Wed, 29 Feb 2012 19:36:37 +0000 (11:36 -0800)
www/graph/root.yaml [new file with mode: 0644]

diff --git a/www/graph/root.yaml b/www/graph/root.yaml
new file mode 100644 (file)
index 0000000..4606a75
--- /dev/null
@@ -0,0 +1,46 @@
+# The root graph, holding defaults inherited by all graphs.
+
+dataset : '/data/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
+    animatedZooms                  : true
+    # labels                       : Array
+    labelsSeparateLines            : true
+    xlabel                         : Date
+    # logscale                     : false
+    axisLineColor                  : '#333333'
+    # axisTickSize                 : 3.0
+    axisLabelColor                 : black
+    # axisLabelFontSize            : 14
+    # labelsKMB                    : false
+    # 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