Skip to content

Commit

Permalink
docs: 修改动态排序图demo (#1493)
Browse files Browse the repository at this point in the history
  • Loading branch information
zengyue committed May 21, 2022
1 parent 70d7f6f commit b92695a
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion packages/site/examples/creative/case/demo/race-country.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,21 @@ fetch('https://gw.alipayobjects.com/os/antfincdn/XaPUX1Tqp0/race-country.json')
},
}}
/>
<Interval x="country" y="income" color="country" />
<Interval
x="country"
y="income"
color="country"
animation={{
appear: {
easing: 'linear',
duration: 300,
property: ['width'],
start: {
width: 0,
},
},
}}
/>
{data[year].map((record) => {
return (
<TextGuide
Expand Down

0 comments on commit b92695a

Please sign in to comment.