mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
parent
a42f3e786e
commit
6408ba426c
@ -692,7 +692,7 @@ module.exports = function(Chart) {
|
||||
|
||||
var label = itemToDraw.label;
|
||||
if (helpers.isArray(label)) {
|
||||
for (var i = 0, y = 0; i < label.length; ++i) {
|
||||
for (var i = 0, y = -(label.length - 1)*tickFontSize*0.75; i < label.length; ++i) {
|
||||
// We just make sure the multiline element is a string here..
|
||||
context.fillText('' + label[i], 0, y);
|
||||
// apply same lineSpacing as calculated @ L#320
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user