diff --git a/src/plugins/plugin.legend.js b/src/plugins/plugin.legend.js index 7c67cb52def..936111d848f 100644 --- a/src/plugins/plugin.legend.js +++ b/src/plugins/plugin.legend.js @@ -325,7 +325,7 @@ export class Legend extends Element { const centerY = y + halfFontSize; // Draw pointStyle as legend symbol - drawPointLegend(ctx, drawOptions, centerX, centerY, boxWidth); + drawPointLegend(ctx, drawOptions, centerX, centerY, labelOpts.pointStyleWidth && boxWidth); } else { // Draw box as legend symbol // Adjust position when boxHeight < fontSize (want it centered)