mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 04:09:08 +02:00
parent
ca326b75e7
commit
b5f5f468d3
@ -304,8 +304,8 @@ const myPieChart = new Chart(ctx, {
|
||||
let style = 'background:' + colors.backgroundColor;
|
||||
style += '; border-color:' + colors.borderColor;
|
||||
style += '; border-width: 2px';
|
||||
const span = '<span style="' + style + '"></span>';
|
||||
innerHtml += '<tr><td>' + span + body + '</td></tr>';
|
||||
const span = '<span style="' + style + '">' + body + '</span>';
|
||||
innerHtml += '<tr><td>' + span + '</td></tr>';
|
||||
});
|
||||
innerHtml += '</tbody>';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user