From 5294ba6a99423123939063c29e73623c6d2455b3 Mon Sep 17 00:00:00 2001 From: Jonathan Hurter Date: Mon, 29 Aug 2016 15:18:32 +0200 Subject: [PATCH] Call onhide on each tooltip hide --- src/tooltip.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tooltip.js b/src/tooltip.js index 1ceafe414..bb11cc730 100644 --- a/src/tooltip.js +++ b/src/tooltip.js @@ -133,4 +133,5 @@ c3_chart_internal_fn.showTooltip = function (selectedData, element) { }; c3_chart_internal_fn.hideTooltip = function () { this.tooltip.style("display", "none"); + this.config.tooltip_onhide.call(this); };