From: Petr Shevtsov Date: Thu, 13 Nov 2014 10:35:08 +0000 (+0300) Subject: Use CSS styles instead of labelsDivStyles X-Git-Tag: v1.1.0~12^2~1^2~2 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=11ce506e365f0dfb3a2b489847b5a24d27fe1f9d;p=dygraphs.git Use CSS styles instead of labelsDivStyles --- diff --git a/tests/customLabelFollow.html b/tests/customLabelFollow.html index 931e555..90c762f 100644 --- a/tests/customLabelFollow.html +++ b/tests/customLabelFollow.html @@ -13,6 +13,16 @@ +

Legend follows highlighted points:

@@ -25,14 +35,6 @@ rollPeriod: 14, errorBars: true, labelsDivWidth: 100, - labelsDivStyles: { - 'backgroundColor': 'rgba(200, 200, 255, 0.75)', - 'padding': '4px', - 'border': '1px solid black', - 'borderRadius': '10px', - 'boxShadow': '4px 4px 4px #888', - 'pointerEvents': 'none' // let mouse events fall through to the chart - }, labelsSeparateLines: true, legendFollow: true, yAxisLabelWidth: 20