We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca326b7 commit b5f5f46Copy full SHA for b5f5f46
docs/configuration/tooltip.md
@@ -304,8 +304,8 @@ const myPieChart = new Chart(ctx, {
304
let style = 'background:' + colors.backgroundColor;
305
style += '; border-color:' + colors.borderColor;
306
style += '; border-width: 2px';
307
- const span = '<span style="' + style + '"></span>';
308
- innerHtml += '<tr><td>' + span + body + '</td></tr>';
+ const span = '<span style="' + style + '">' + body + '</span>';
+ innerHtml += '<tr><td>' + span + '</td></tr>';
309
});
310
innerHtml += '</tbody>';
311
0 commit comments