Skip to content

Commit cd75409

Browse files
committed
fix(playground): Fix recharts height
1 parent 0ec05c7 commit cd75409

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/cubejs-playground/src/libraries/recharts.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const chartTypeToTemplate = {
3939
))}
4040
</CartesianChart>`,
4141
pie: `
42-
<ResponsiveContainer width="100%" height={400}>
42+
<ResponsiveContainer width="100%" height={350}>
4343
<PieChart>
4444
<Pie
4545
isAnimationActive={false}
@@ -81,7 +81,7 @@ export const sourceCodeTemplate = ({ chartType, renderFnName }) => (
8181
} from "recharts";
8282
8383
const CartesianChart = ({ resultSet, children, ChartComponent }) => (
84-
<ResponsiveContainer width="100%" height={400}>
84+
<ResponsiveContainer width="100%" height={350}>
8585
<ChartComponent data={resultSet.chartPivot()}>
8686
<XAxis dataKey="x" />
8787
<YAxis />

0 commit comments

Comments
 (0)