Updates options and root presets.
authordsc <dsc@wikimedia.org>
Wed, 7 Mar 2012 18:36:40 +0000 (10:36 -0800)
committerdsc <dsc@wikimedia.org>
Wed, 7 Mar 2012 18:36:40 +0000 (10:36 -0800)
msc/dygraph-options/data.yaml
www/presets/root.yaml

index a41db87..7c01a87 100644 (file)
@@ -38,7 +38,7 @@
     - data
     - display
     type: Array of booleans
-    default: true
+    default: null
     desc: Which series should initially be visible? Once the Dygraph has been constructed,
         you can access and modify the visibility of each series using the visibility
         and setVisibility methods.
 -   name: axisTickSize
     tags:
     - axes
-    type: Number
+    type: Float
     default: 3.0
     desc: The size of the line to display next to each tick mark on x- or y-axes.
 
index 63b19f5..cc51b65 100644 (file)
@@ -4,44 +4,90 @@ 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
-    # logscale                       : false
-    yAxisLabelWidth                 : 50
-    rightGap                        : 20
     animatedZooms                   : true
-    legend                          : always
-    labelsKMB                       : true
-    # labelsKMG2                     : false
-    sigFigs                         : null
+    avoidMinZero                    : false
+    axis                            : null
+    axisLabelColor                  : "#666666"
+    axisLabelFontSize               : 14
+    axisLabelFormatter              : null
+    axisLabelWidth                  : 50
+    axisLineColor                   : black
+    axisLineWidth                   : 0.3
+    axisTickSize                    : 3.0
+    colorSaturation                 : 1.0
+    colorValue                      : 0.5
+    colors                          : ["#FF0097", "#EF8158", "#83BB32", "#182B53", "#4596FF", "#553DC9", "#AD3238", "#00FFBC", "#F1D950"]
+    connectSeparatedPoints          : false
+    customBars                      : false
+    dateWindow                      : null
+    delimiter                       : ","
     digitsAfterDecimal              : 3
-    maxNumberWidth                  : 30
-    # labels                         : Array
+    displayAnnotations              : false
+    drawPoints                      : false
+    drawXAxis                       : true
+    drawXGrid                       : true
+    drawYAxis                       : true
+    drawYGrid                       : true
+    errorBars                       : false
+    file                            : null
+    fillAlpha                       : 0.15
+    fillGraph                       : false
+    fractions                       : false
+    gridLineColor                   : "#D8D8D8"
+    gridLineWidth                   : 0.3
+    hideOverlayOnMouseOut           : true
+    highlightCircleSize             : 3
+    includeZero                     : false
+    interactionModel                : null
+    isZoomedIgnoreProgrammaticZoom  : false
+    labels                          : null
+    labelsDiv                       : null
+    labelsDivStyles                 : null
+    labelsDivWidth                  : 250
+    labelsKMB                       : true
+    labelsKMG2                      : false
     labelsSeparateLines             : true
-    # xlabel                         : Date
-    axisLineColor                   : black
-    # axisTickSize                   : 3.0
-    axisLabelColor                  : '#666666'
-    # axisLabelFontSize              : 14
-    # showRoller                     : false
-    # rollPeriod                     : 1
-    # sigma                          : 2.0
-    # wilsonInterval                 : true
-    # fillAlpha                      : 0.15
-    # customBars                     : false
-    # errorBars                      : false
-    # fractions                      : false
-    # delimiter                      : ','
-    # drawXGrid                      : true
-    # drawYGrid                      : true
-    gridLineColor                   : '#D8D8D8'
-    # gridLineWidth                  : 0.3
-    # showRangeSelector              : false
-    # rangeSelectorHeight            : 40
-    # rangeSelectorPlotFillColor     : '#A7B1C4'
-    # rangeSelectorPlotStrokeColor   : '#808FAB'
-    # displayAnnotations             : false
+    labelsShowZeroValues            : true
+    legend                          : always
+    logscale                        : false
+    maxNumberWidth                  : 30
+    panEdgeFraction                 : null
+    pixelsPerLabel                  : null
+    pixelsPerXLabel                 : null
+    pixelsPerYLabel                 : null
+    pointSize                       : 1
+    rangeSelectorHeight             : 40
+    rangeSelectorPlotFillColor      : "#A7B1C4"
+    rangeSelectorPlotStrokeColor    : "#808FAB"
+    rightGap                        : 20
+    rollPeriod                      : 1
+    showLabelsOnHighlight           : true
+    showRangeSelector               : false
+    showRoller                      : false
+    sigFigs                         : null
+    sigma                           : 2.0
+    stackedGraph                    : false
+    stepPlot                        : false
+    strokePattern                   : null
+    strokeWidth                     : 1
+    ticker                          : null
+    timingName                      : null
+    title                           : null
+    titleHeight                     : 18
+    valueFormatter                  : null
+    valueRange                      : null
+    visibility                      : null
+    wilsonInterval                  : true
+    xAxisHeight                     : null
+    xAxisLabelFormatter             : null
+    xAxisLabelWidth                 : 50
+    xLabelHeight                    : 18
+    xValueFormatter                 : null
+    xValueParser                    : null
+    xlabel                          : null
+    y2label                         : null
+    yAxisLabelFormatter             : null
+    yAxisLabelWidth                 : 50
+    yLabelWidth                     : 18
+    yValueFormatter                 : null
+    ylabel                          : null