X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Fstyled-chart-labels.html;h=b7af95ecf0079c612e24f00d8ac82b5f453d7c55;hb=916a000e22d330b5f8690af07f561da1bdf7f8e3;hp=c9f9e71c6c9c5d944d1af8a000287feb5058fe9f;hpb=3bc2cb3c62dbc37db8ca4b58fd64807be78dccfa;p=dygraphs.git diff --git a/tests/styled-chart-labels.html b/tests/styled-chart-labels.html index c9f9e71..b7af95e 100644 --- a/tests/styled-chart-labels.html +++ b/tests/styled-chart-labels.html @@ -26,16 +26,21 @@ font-size: 18px; text-shadow: gray -2px 2px 2px; /* (offsets are in a rotated frame) */ } + .chart { + border: 1px dashed black; + margin: 5px; + padding: 2px; + }

In this chart, each chart label is styled independently. View source to see how it works.

-
+

This version of the chart uses the default styles:

-
+