From 6bfcef485c78f3e676ca765737fb5fb5f146558c Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Sun, 18 Sep 2011 20:53:53 +0530 Subject: [PATCH] If data label is not set, do not show tooltips --- js/tbl_zoom_plot.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/js/tbl_zoom_plot.js b/js/tbl_zoom_plot.js index 665a534164..99fe7fa84b 100644 --- a/js/tbl_zoom_plot.js +++ b/js/tbl_zoom_plot.js @@ -553,6 +553,11 @@ $(document).ready(function() { } }; + // If data label is not set, do not show tooltips + if (dataLabel == '') { + currentSettings.tooltip.enabled = false; + } + $('#resizer').resizable({ resize: function() { currentChart.setSize(