X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Frange-selector.html;h=9c2b1405f4ee11bfcbe58154ef3e8c7732551d33;hb=c0e7b6254d879d6ccbfdd97b88eb904cc09cc9c1;hp=7b412a01538bee3a6a244cbcd249e8dceb98bc1e;hpb=2555a4ed1fc457c4a7288eb355f24e66297708dc;p=dygraphs.git diff --git a/tests/range-selector.html b/tests/range-selector.html index 7b412a0..9c2b140 100644 --- a/tests/range-selector.html +++ b/tests/range-selector.html @@ -1,12 +1,9 @@ + Temperatures with Range Selector - - + @@ -61,7 +73,6 @@ title: 'Daily Temperatures in New York vs. San Francisco', ylabel: 'Temperature (F)', legend: 'always', - labelsDivStyles: { 'textAlign': 'right' }, showRangeSelector: true } ); @@ -75,7 +86,6 @@ title: 'Daily Temperatures in New York vs. San Francisco', ylabel: 'Temperature (F)', legend: 'always', - labelsDivStyles: { 'textAlign': 'right' }, xAxisHeight: 14, showRangeSelector: true, rangeSelectorHeight: 80, @@ -118,6 +128,7 @@ drawAxis : false } }, + labels: ['X', 'Y'], showRangeSelector: true, rangeSelectorHeight: 30 } @@ -132,11 +143,9 @@ title: 'Nightly Temperatures in NY vs. SF', ylabel: 'Temperature (F)', legend: 'always', - labelsDivStyles: { 'textAlign': 'right', 'backgroundColor': '#101015' }, showRangeSelector: true, rangeSelectorPlotFillColor: 'MediumSlateBlue', rangeSelectorPlotFillGradientColor: 'rgba(123, 104, 238, 0)', - axisLabelColor: 'white', colorValue: 0.9, fillAlpha: 0.4 } @@ -151,10 +160,8 @@ title: 'Nightly Temperatures in NY vs. SF', ylabel: 'Temperature (F)', legend: 'always', - labelsDivStyles: { 'textAlign': 'right', 'backgroundColor': '#101015' }, showRangeSelector: true, rangeSelectorPlotFillColor: 'MediumSlateBlue', - axisLabelColor: 'white', colorValue: 0.9, fillAlpha: 0.4 }