Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: delete some unused demos #1269

Merged
merged 10 commits into from
Nov 16, 2021
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