fix: add maxBarSize for chart renderer

This commit is contained in:
TzeYiing authored and Joshen Lim committed 2022-08-01 16:20:55 +08:00
1 parent f9fbec3a60
commit cec0d932be
1 file changed
+2
@@ -256,6 +256,8 @@ export function BarChart({
fill={CHART_COLORS.GREEN_1}
// barSize={2}
animationDuration={300}
// max bar size required for LogEventChart, prevents bars from expanding to max width.
maxBarSize={48}
>
{data?.map((entry: any, index: any) => (
<Cell