From: Tanner Linsley Date: Wed, 17 Jun 2015 21:10:45 +0000 (-0600) Subject: Fixed Custom Tooltips X-Git-Tag: 2.0.0-alpha4~81 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79f8ce0e97fa94c01e5333f6c4c05a55b84f4ceb;p=thirdparty%2FChart.js.git Fixed Custom Tooltips --- diff --git a/src/core/core.tooltip.js b/src/core/core.tooltip.js index 13e5548bc..5de6b8bdc 100644 --- a/src/core/core.tooltip.js +++ b/src/core/core.tooltip.js @@ -238,8 +238,8 @@ ctx.fillStyle = helpers.color(vm.backgroundColor).alpha(vm.opacity).rgbString(); // Custom Tooltips - if (this._custom) { - this._custom(this._view); + if (this._options.tooltips.custom) { + this._options.tooltips.custom(this._view); } else { switch (vm.yAlign) { case "above":