X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2FcustomLabelCss3.html;h=2b1b55abed81a8fc84cfdc37d1e46cbe235e7c67;hb=77ad1333ba9d129938e6d03c063ada46ad1f98ab;hp=c90af5fd362d8e63a2dea4ee22750ee31f7f9bb4;hpb=623bbb49afcf438fcba59d1c7db6ab8c537c961e;p=dygraphs.git diff --git a/tests/customLabelCss3.html b/tests/customLabelCss3.html index c90af5f..2b1b55a 100644 --- a/tests/customLabelCss3.html +++ b/tests/customLabelCss3.html @@ -1,16 +1,12 @@ - Label styles - - + @@ -27,13 +23,17 @@ labelsDivWidth: 100, labelsDivStyles: { 'backgroundColor': 'rgba(200, 200, 255, 0.75)', - 'padding': '4px', - 'border': '1px solid black', - 'borderRadius': '10px', - 'boxShadow': '4px 4px 4px #888' - }, + 'padding': '4px', + 'border': '1px solid black', + 'borderRadius': '10px', + 'boxShadow': '4px 4px 4px #888' + }, labelsSeparateLines: true, - yAxisLabelWidth: 20 + axes: { + y: { + axisLabelWidth: 20 + } + } } );