Skip to content

Commit b9bb57d

Browse files
authored
fix: 修复一些demo的小问题 (#1676)
1 parent 86f110b commit b9bb57d

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

examples/column/stacked/demo/basic.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ const stackedColumnPlot = new Column('container', {
9999
xField: 'year',
100100
yField: 'value',
101101
seriesField: 'type',
102-
color: ['#1ca9e6', '#f88c24'],
102+
color: ['#ae331b', '#1a6179'],
103103
});
104104

105105
stackedColumnPlot.render();

examples/line/multiple/demo/line-label.ts

+7
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ fetch('https://gw.alipayobjects.com/os/bmw-prod/e00d52f4-2fa6-47ee-a0d7-105dd95b
1717
position: 'top',
1818
},
1919
smooth: true,
20+
// @TODO 后续会换一种动画方式
21+
animation: {
22+
appear: {
23+
animation: 'path-in',
24+
duration: 5000,
25+
},
26+
},
2027
});
2128

2229
linePlot.render();

0 commit comments

Comments
 (0)