From f89328b2a626ff4eae22db65e9b121a530490ab3 Mon Sep 17 00:00:00 2001 From: touletan Date: Fri, 17 Jan 2020 22:30:43 -0500 Subject: [PATCH] confirm no error --- src/plugins/plugin.legend.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/plugin.legend.js b/src/plugins/plugin.legend.js index fd014e61cd4..d77c47aa6a2 100644 --- a/src/plugins/plugin.legend.js +++ b/src/plugins/plugin.legend.js @@ -395,6 +395,7 @@ class Legend extends Element { rotation: legendItem.rotation, borderWidth: lineWidth }; + var centerX = rtlHelper.xPlus(x, boxWidth / 2); var centerY = y + fontSize / 2;