Skip to content

Commit

Permalink
docs: 优化 legend 示例
Browse files Browse the repository at this point in the history
  • Loading branch information
wangxingkang committed Sep 2, 2024
1 parent 3d56f4d commit 9997a29
Show file tree
Hide file tree
Showing 2 changed files with 15,780 additions and 12,364 deletions.
7 changes: 5 additions & 2 deletions packages/storybook/stories/Plots/Area.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,15 +127,18 @@ export function Basic() {

const config: AreaConfig = {
...sharedConfig,
title: '基础面积图',
title: {
title: '基础面积图',
size: -1,
},
data: basicData,
xField: 'date',
yField: 'value',
colorField: 'country',
legend: {
color: {
x: -24,
y: -38,
y: -16,
layout: {
justifyContent: 'flex-end',
},
Expand Down
Loading

0 comments on commit 9997a29

Please sign in to comment.