X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=gallery%2Fstyled-chart-labels.js;h=1248855a9a9f92cda5e106e1ef8c99db10732332;hb=e2531db7bf7914193b9cc2a562962335cb1ee384;hp=61395268d89db453038b0282c7f7489cdfec480c;hpb=3381d8fa5415cd273ec74b291ae146787f3c3a92;p=dygraphs.git diff --git a/gallery/styled-chart-labels.js b/gallery/styled-chart-labels.js index 6139526..1248855 100644 --- a/gallery/styled-chart-labels.js +++ b/gallery/styled-chart-labels.js @@ -4,11 +4,11 @@ Gallery.register( name: 'CSS label styling', title: 'Each chart label is styled independently with CSS', setup: function(parent) { - parent.innerHTML = - "

This chart's labels are styled

" + - "
" + - "

This version of the chart uses the default styles:

" + - "
"; + parent.innerHTML = [ + "

This chart's labels are styled

", + "
", + "

This version of the chart uses the default styles:

", + "
"].join("\n"); }, run: function() { g = new Dygraph(