X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2FcustomLabelCss3.html;h=4270d9335a55d7899fe78ec1e9809ac7c014f949;hb=f160e4ac8166f74d1f0e5604061564fbca5ba5a5;hp=a5c7c3a7262286eecfd5b635879739948bd33828;hpb=e26b71566419e1c051f3fbd1f4f8f64b063a04c9;p=dygraphs.git diff --git a/tests/customLabelCss3.html b/tests/customLabelCss3.html index a5c7c3a..4270d93 100644 --- a/tests/customLabelCss3.html +++ b/tests/customLabelCss3.html @@ -1,18 +1,21 @@ - + Label styles - - - + +

Labels are styled with css3:

@@ -24,16 +27,12 @@ NoisyData, { rollPeriod: 14, errorBars: true, - labelsDivWidth: 100, - labelsDivStyles: { - 'backgroundColor': 'rgba(200, 200, 255, 0.75)', - 'padding': '4px', - 'border': '1px solid black', - 'borderRadius': '10px', - 'boxShadow': '4px 4px 4px #888' - }, labelsSeparateLines: true, - yAxisLabelWidth: 20 + axes: { + y: { + axisLabelWidth: 20 + } + } } );