We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d91911 commit 591378bCopy full SHA for 591378b
examples/line/multiple/demo/marker-active.ts
@@ -17,7 +17,7 @@ fetch('https://gw.alipayobjects.com/os/bmw-prod/55424a73-7cb8-4f79-b60d-3ab627ac
17
'#FF99C3',
18
];
19
20
- const container = document.getElementById('container');
+ const container = 'container';
21
const containerBox = container.getBoundingClientRect();
22
const series = uniq(data.map((d) => d.category));
23
const markerSize = 6;
examples/pie/basic/demo/custom-label.ts
@@ -5,7 +5,7 @@ const data = [
5
{ sex: '女', sold: 0.55 },
6
7
8
-const piePlot = new Pie(document.getElementById('container'), {
+const piePlot = new Pie('container', {
9
width: 400,
10
height: 300,
11
appendPadding: 10,
0 commit comments