X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=src%2Fdygraph-default-attrs.js;h=1b3208c6edb3ea0220819010ccd23c4b88196899;hb=f808e16e56550f5260f4cf8c335424925e23e6b5;hp=b7dd6e4d184fd2a9ff3a65d5e6a5effd2106b948;hpb=6ecc073934b76e5076f917112a24ff7094857730;p=dygraphs.git diff --git a/src/dygraph-default-attrs.js b/src/dygraph-default-attrs.js index b7dd6e4..1b3208c 100644 --- a/src/dygraph-default-attrs.js +++ b/src/dygraph-default-attrs.js @@ -10,11 +10,8 @@ var DEFAULT_ATTRS = { highlightCircleSize: 3, highlightSeriesOpts: null, highlightSeriesBackgroundAlpha: 0.5, + highlightSeriesBackgroundColor: 'rgb(255, 255, 255)', - labelsDivWidth: 250, - labelsDivStyles: { - // TODO(danvk): move defaults from createStatusMessage_ here. - }, labelsSeparateLines: false, labelsShowZeroValues: true, labelsKMB: false, @@ -34,7 +31,7 @@ var DEFAULT_ATTRS = { rightGap: 5, showRoller: false, - xValueParser: utils.dateParser, + xValueParser: undefined, delimiter: ',', @@ -53,7 +50,6 @@ var DEFAULT_ATTRS = { legend: 'onmouseover', stepPlot: false, - avoidMinZero: false, xRangePad: 0, yRangePad: null, drawAxesAtZero: false, @@ -66,7 +62,6 @@ var DEFAULT_ATTRS = { axisLineColor: "black", axisLineWidth: 0.3, gridLineWidth: 0.3, - axisLabelColor: "black", axisLabelWidth: 50, gridLineColor: "rgb(128,128,128)",