From 136efeaf4d8af97b43daee57620be4fd68c2e5de Mon Sep 17 00:00:00 2001 From: 100000001 Date: Thu, 10 Mar 2016 09:05:59 +0100 Subject: [PATCH] Moved _model xAlign and yAlign setting to Positioning section and swapped y and x --- src/core/core.tooltip.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/core.tooltip.js b/src/core/core.tooltip.js index 8ff2da9c4..ddf78f62a 100644 --- a/src/core/core.tooltip.js +++ b/src/core/core.tooltip.js @@ -90,6 +90,8 @@ module.exports = function(Chart) { // Positioning xPadding: options.tooltips.xPadding, yPadding: options.tooltips.yPadding, + xAlign : options.tooltips.yAlign, + yAlign : options.tooltips.xAlign, // Body bodyColor: options.tooltips.bodyColor, @@ -118,8 +120,6 @@ module.exports = function(Chart) { footerMarginTop: options.tooltips.footerMarginTop, // Appearance - yAlign : options.tooltips.yAlign, - xAlign : options.tooltips.xAlign, caretSize: options.tooltips.caretSize, cornerRadius: options.tooltips.cornerRadius, backgroundColor: options.tooltips.backgroundColor, -- 2.47.2