Skip to content

Commit

Permalink
fix argos errors
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfauquette committed Oct 23, 2024
1 parent 1809f23 commit c257667
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 7 deletions.
1 change: 0 additions & 1 deletion docs/data/charts/axis/AxisCustomizationNoSnap.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ const data = Array.from({ length: 200 }, () => ({
const defaultXAxis = {
disableLine: false,
disableTicks: false,
fontSize: 12,
label: 'My axis',
tickSize: 6,
};
Expand Down
6 changes: 5 additions & 1 deletion docs/data/charts/axis/AxisWithComposition.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ export default function AxisWithComposition() {
>
<BarPlot />
<LinePlot />
<ChartsXAxis axisId="quarters" label="2021 quarters" labelFontSize={18} />
<ChartsXAxis
axisId="quarters"
label="2021 quarters"
labelStyle={{ fontSize: 18 }}
/>
<ChartsYAxis axisId="quantities" label="# units sold" />
<ChartsYAxis axisId="money" position="right" label="revenue" />
</ResponsiveChartContainer>
Expand Down
6 changes: 5 additions & 1 deletion docs/data/charts/axis/AxisWithComposition.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ export default function AxisWithComposition() {
>
<BarPlot />
<LinePlot />
<ChartsXAxis axisId="quarters" label="2021 quarters" labelFontSize={18} />
<ChartsXAxis
axisId="quarters"
label="2021 quarters"
labelStyle={{ fontSize: 18 }}
/>
<ChartsYAxis axisId="quantities" label="# units sold" />
<ChartsYAxis axisId="money" position="right" label="revenue" />
</ResponsiveChartContainer>
Expand Down
2 changes: 1 addition & 1 deletion docs/data/charts/lines/LineDataset.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const stackStrategy = {

const customize = {
height: 300,
legend: { hidden: true },
slotProps: { legend: { hidden: true } },
margin: { top: 5 },
};

Expand Down
2 changes: 1 addition & 1 deletion docs/data/charts/lines/LineDataset.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const stackStrategy = {

const customize = {
height: 300,
legend: { hidden: true },
slotProps: { legend: { hidden: true } },
margin: { top: 5 },
};

Expand Down
2 changes: 1 addition & 1 deletion docs/data/charts/pie-demo/PieChartWithCustomizedLabel.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const sizing = {
margin: { right: 5 },
width: 200,
height: 200,
legend: { hidden: true },
slotProps: { legend: { hidden: true } },
};
const TOTAL = data.map((item) => item.value).reduce((a, b) => a + b, 0);

Expand Down
2 changes: 1 addition & 1 deletion docs/data/charts/pie-demo/PieChartWithCustomizedLabel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const sizing = {
margin: { right: 5 },
width: 200,
height: 200,
legend: { hidden: true },
slotProps: { legend: { hidden: true } },
};
const TOTAL = data.map((item) => item.value).reduce((a, b) => a + b, 0);

Expand Down

0 comments on commit c257667

Please sign in to comment.