Skip to content

Commit

Permalink
chore: Adjust height dynamically based on number of features in ApexC…
Browse files Browse the repository at this point in the history
…hartComponent
  • Loading branch information
Terdious committed Oct 25, 2024
1 parent ef88f98 commit b9c81d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions front/src/components/boxs/chart/ApexChartComponent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b9c81d4

Please sign in to comment.