Skip to content

Commit

Permalink
fix: 修复一些demo的小问题 (#1676)
Browse files Browse the repository at this point in the history
  • Loading branch information
arcsin1 authored Sep 30, 2020
1 parent 86f110b commit b9bb57d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/column/stacked/demo/basic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ const stackedColumnPlot = new Column('container', {
xField: 'year',
yField: 'value',
seriesField: 'type',
color: ['#1ca9e6', '#f88c24'],
color: ['#ae331b', '#1a6179'],
});

stackedColumnPlot.render();
7 changes: 7 additions & 0 deletions examples/line/multiple/demo/line-label.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ fetch('https://gw.alipayobjects.com/os/bmw-prod/e00d52f4-2fa6-47ee-a0d7-105dd95b
position: 'top',
},
smooth: true,
// @TODO 后续会换一种动画方式
animation: {
appear: {
animation: 'path-in',
duration: 5000,
},
},
});

linePlot.render();
Expand Down

0 comments on commit b9bb57d

Please sign in to comment.