Skip to content

Commit 52bf80e

Browse files
author
timqian
committed
update the way to calculate width/height of legend
1 parent 3702fd4 commit 52bf80e

File tree

5 files changed

+886
-991
lines changed

5 files changed

+886
-991
lines changed

examples/npm/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const svgPie = document.querySelector('.pie-chart');
2424
new chartXkcd.Pie(svgPie, {
2525
title: 'What Tim is made of',
2626
data: {
27-
labels: ['a', 'b', 'e', 'f', 'g'],
27+
labels: ['a', 'b', 'e', 'f', '你好吗我的爱g'],
2828
datasets: [{
2929
data: [500, 200, 80, 90, 100],
3030
}],

0 commit comments

Comments
 (0)