X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Ftwo-axes.html;h=3f40b070cb44ab4d717d82d1ad61d96ccfbd61bb;hb=966ac3fa0de18a7b5ddefe4aba6938d8358ea0cf;hp=834fd2f4c05f0ed542db34a10f2e27097c5678d5;hpb=f6828af01b3fe5a0a970bc5e7d9400ac97f40305;p=dygraphs.git diff --git a/tests/two-axes.html b/tests/two-axes.html index 834fd2f..3f40b07 100644 --- a/tests/two-axes.html +++ b/tests/two-axes.html @@ -53,7 +53,10 @@ // set axis-related properties here labelsKMB: true } - } + }, + ylabel: 'Primary y-axis', + y2label: 'Secondary y-axis', + yAxisLabelWidth: 60 } ); @@ -62,7 +65,9 @@ data, { labels: [ 'Date', 'Y1', 'Y2', 'Y3', 'Y4' ], - labelsKMB: true + labelsKMB: true, + ylabel: 'Primary y-axis', + y2label: 'Secondary y-axis', } );