X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=inline;f=tests%2FcustomLabelFollow.html;h=b2362a4ce82794f93d90bffbae8a4a500e47cd66;hb=c08d4ce2562a5780a2396aa6c83e70a67a62aaa5;hp=76d382217d867a174b1a17bb3e282ff87ebc86cf;hpb=297da0d8f33ab7ba2e6860b20b3c8e722e77720f;p=dygraphs.git diff --git a/tests/customLabelFollow.html b/tests/customLabelFollow.html index 76d3822..b2362a4 100644 --- a/tests/customLabelFollow.html +++ b/tests/customLabelFollow.html @@ -22,23 +22,64 @@ box-shadow: 4px 4px 4px #888; pointer-events: none; } + pre { + margin-top: 30px; + } -

Legend follows highlighted points:

-
+

This page demonstrates different values for the legend option. Mouse over the charts to see the different behaviors.

+
legend: "follow":
+
+ +
legend: "always":
+
+ +
legend: "never":
+
+ +
legend: "onmouseover" (the default):
+