Skip to content

Commit

Permalink
Fixed vertical alignment in legend text (chartjs#3387)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffcarey committed Nov 8, 2016
1 parent efced47 commit 9c528d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/core.legend.js
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ module.exports = function(Chart) {
}
} else if (y + itemHeight > me.bottom) {
x = cursor.x = x + me.columnWidths[cursor.line] + labelOpts.padding;
y = cursor.y = me.top;
y = cursor.y = me.top + labelOpts.padding;
cursor.line++;
}

Expand Down

0 comments on commit 9c528d3

Please sign in to comment.