From b9c81d46c403dfb8522b52a374541970d328afd3 Mon Sep 17 00:00:00 2001 From: Terdious Date: Fri, 25 Oct 2024 12:43:41 +0200 Subject: [PATCH] chore: Adjust height dynamically based on number of features in ApexChartComponent --- front/src/components/boxs/chart/ApexChartComponent.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/front/src/components/boxs/chart/ApexChartComponent.jsx b/front/src/components/boxs/chart/ApexChartComponent.jsx index c08dedae14..9a74043f19 100644 --- a/front/src/components/boxs/chart/ApexChartComponent.jsx +++ b/front/src/components/boxs/chart/ApexChartComponent.jsx @@ -141,8 +141,10 @@ class ApexChartComponent extends Component { } else if (this.props.size === 'big' && !this.props.display_axes) { height = 80; } else { + console.log('height this.props', this.props); height = 200 + this.props.additionalHeight; } + console.log('height', height); let seriesAnnotationsYaxis = []; let seriesPoints = []; console.log('this.props', this.props);