Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/plugins/plugin.legend.js
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,8 @@ module.exports = function(Chart) {

// Draw pointStyle as legend symbol
Chart.helpers.canvas.drawPoint(ctx, legendItem.pointStyle, radius, centerX, centerY);
} else if (opts.labels && opts.labels.useLineStyle) {
ctx.strokeRect(x, y + fontSize / 2, boxWidth, 0);
} else {
// Draw box as legend symbol
if (!isLineWidthZero) {
Expand Down