From 11ce506e365f0dfb3a2b489847b5a24d27fe1f9d Mon Sep 17 00:00:00 2001 From: Petr Shevtsov Date: Thu, 13 Nov 2014 13:35:08 +0300 Subject: [PATCH] Use CSS styles instead of labelsDivStyles --- tests/customLabelFollow.html | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) 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 -- 2.7.4