X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2FcustomLabelCss3.html;h=4270d9335a55d7899fe78ec1e9809ac7c014f949;hb=f598f5e131cf7644fa168bfe49bded499d16363f;hp=462a4d69156005ea2d00948e939060f8bc9cb2ab;hpb=fbd6834a9de994c68825a17fdaae2eaf514227ae;p=dygraphs.git diff --git a/tests/customLabelCss3.html b/tests/customLabelCss3.html index 462a4d6..4270d93 100644 --- a/tests/customLabelCss3.html +++ b/tests/customLabelCss3.html @@ -1,14 +1,21 @@ + Label styles - +

Labels are styled with css3:

@@ -20,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 + } + } } );