Skip to content

Commit c69a00f

Browse files
Fix demos
1 parent 466547a commit c69a00f

11 files changed

+11
-11
lines changed

docs/data/charts/axis/ModifyAxisPosition.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const data = Array.from({ length: 200 }, () => ({
1313
const params = {
1414
series: [{ data }],
1515
height: 300,
16-
margin: 12,
16+
margin: { top: 12, right: 12, bottom: 20, left: 12 },
1717
};
1818
export default function ModifyAxisPosition() {
1919
return (

docs/data/charts/axis/ModifyAxisPosition.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const data = Array.from({ length: 200 }, () => ({
1313
const params = {
1414
series: [{ data }],
1515
height: 300,
16-
margin: 12,
16+
margin: { top: 12, right: 12, bottom: 20, left: 12 },
1717
};
1818
export default function ModifyAxisPosition() {
1919
return (

docs/data/charts/lines/ExpandingStep.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export default function ExpandingStep() {
8585
type: 'bar',
8686
},
8787
]}
88-
height={200}
88+
height={250}
8989
margin={{ bottom: 10 }}
9090
skipAnimation
9191
>

docs/data/charts/lines/ExpandingStep.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export default function ExpandingStep() {
8686
type: 'bar',
8787
},
8888
]}
89-
height={200}
89+
height={250}
9090
margin={{ bottom: 10 }}
9191
skipAnimation
9292
>

docs/data/charts/lines/LineDataset.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const stackStrategy = {
1313
};
1414

1515
const customize = {
16-
height: 300,
16+
height: 350,
1717
hideLegend: true,
1818
};
1919

docs/data/charts/lines/LineDataset.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const stackStrategy = {
1313
} as const;
1414

1515
const customize = {
16-
height: 300,
16+
height: 350,
1717
hideLegend: true,
1818
};
1919

docs/data/visual-regression-tests/XAxisAnchorBaselineDefaults.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default function XAxisAnchorBaselineDefaults() {
3838
yAxis={[
3939
{
4040
valueFormatter: (value) => `${(value / 1000).toLocaleString()}k`,
41-
width: 50,
41+
width: 60,
4242
},
4343
]}
4444
/>

docs/data/visual-regression-tests/XAxisAnchorBaselineDefaults.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export default function XAxisAnchorBaselineDefaults() {
4040
yAxis={[
4141
{
4242
valueFormatter: (value) => `${(value / 1000).toLocaleString()}k`,
43-
width: 50,
43+
width: 60,
4444
},
4545
]}
4646
/>

docs/data/visual-regression-tests/XAxisAnchorBaselineDefaults.tsx.preview

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
yAxis={[
1010
{
1111
valueFormatter: (value) => `${(value / 1000).toLocaleString()}k`,
12-
width: 50,
12+
width: 60,
1313
},
1414
]}
1515
/>

docs/data/visual-regression-tests/XAxisTickLabelOverflow.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export default function XAxisTickLabelOverflow() {
5050
yAxis={[
5151
{
5252
valueFormatter: (value) => `${(value / 1000).toLocaleString()}k`,
53-
width: 50,
53+
width: 60,
5454
},
5555
]}
5656
/>

docs/data/visual-regression-tests/XAxisTickLabelOverflow.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export default function XAxisTickLabelOverflow() {
5252
yAxis={[
5353
{
5454
valueFormatter: (value) => `${(value / 1000).toLocaleString()}k`,
55-
width: 50,
55+
width: 60,
5656
},
5757
]}
5858
/>

0 commit comments

Comments
 (0)