X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2FcustomLabelCss3.html;h=4270d9335a55d7899fe78ec1e9809ac7c014f949;hb=00eebc92ec7d1846599bf233dbc63b9ea3ac3095;hp=a5c7c3a7262286eecfd5b635879739948bd33828;hpb=0e261c432e246651785eeda3e3ffa65a3ac78842;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 + } + } } );