From: Evert Timberg Date: Sat, 23 Apr 2016 00:48:41 +0000 (-0400) Subject: Support radar tooltip mode 'label' X-Git-Tag: 2.1.0~55^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dc7ad19f29ffda1feb4024c43e4fd468e61155e1;p=thirdparty%2FChart.js.git Support radar tooltip mode 'label' --- diff --git a/src/core/core.tooltip.js b/src/core/core.tooltip.js index ddf78f62a..88fb9b122 100644 --- a/src/core/core.tooltip.js +++ b/src/core/core.tooltip.js @@ -250,7 +250,7 @@ module.exports = function(Chart) { datasetIndex: datasetIndex }); } - }, null, element._yScale.options.stacked); + }, null); helpers.each(this._active, function(active) { if (active) { @@ -259,10 +259,10 @@ module.exports = function(Chart) { backgroundColor: active._view.backgroundColor }); } - }, null, element._yScale.options.stacked); + }, null); tooltipPosition = this.getAveragePosition(this._active); - tooltipPosition.y = this._active[0]._yScale.getPixelForDecimal(0.5); + //tooltipPosition.y = this._active[0]._yScale.getPixelForDecimal(0.5); } // Build the Text Lines