Skip to content

Commit

Permalink
fix: 重新调整官网demo目录 (#1269)
Browse files Browse the repository at this point in the history
fix: 重新调整官网demo目录
  • Loading branch information
El-Chiang committed Nov 16, 2021
1 parent 98474e2 commit 0349d22
Show file tree
Hide file tree
Showing 68 changed files with 105 additions and 4,291 deletions.
2 changes: 1 addition & 1 deletion packages/site/examples/area/stacked/demo/percent.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ const { props } = (
<Axis field="year" />
<Area x="year" y="percent" color="country" adjust="stack" />
<Line x="year" y="percent" color="country" adjust="stack" />
<Legend />
<Legend style={{ justifyContent: 'space-around' }} />
</Chart>
</Canvas>
);
Expand Down
10 changes: 8 additions & 2 deletions packages/site/examples/area/stacked/demo/stacked.js
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,7 @@ const { props } = (
range: [0, 1],
type: 'timeCat',
mask: 'MM-DD',
tickCount: 5,
},
value: {
max: 300,
Expand All @@ -417,15 +418,20 @@ const { props } = (
}}
>
<Axis field="value" />
<Axis field="date" />
<Axis
field="date"
style={{
label: { align: 'between' }
}}
/>
<Area
x="date"
y="value"
color="city"
adjust="stack"
/>
<Line x="date" y="value" color="city" adjust="stack" />
<Legend />
<Legend style={{ justifyContent: 'space-around' }} />
</Chart>
</Canvas>
);
Expand Down
148 changes: 0 additions & 148 deletions packages/site/examples/candlestick/candlestick/demo/basic.js

This file was deleted.

Loading

0 comments on commit 0349d22

Please sign in to comment.