Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ColumnChartWithTrend: wrong height when used in CSS grid layout #6204

Open
1 task done
Lukas742 opened this issue Aug 13, 2024 · 0 comments
Open
1 task done

ColumnChartWithTrend: wrong height when used in CSS grid layout #6204

Lukas742 opened this issue Aug 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Lukas742
Copy link
Contributor

Lukas742 commented Aug 13, 2024

Describe the bug

If the ColumnChartWithTrend is used in a grid layout with grid-template-columns or grid-template-rows and without a defined height of the chart itself, the max-height and height is calculated incorrectly.

Isolated Example

https://stackblitz.com/edit/github-2nwdbd-ewe2ux?file=src%2FApp.tsx,package.json

Reproduction steps

  1. Got to StackBlitz
  2. See that the height of the LineChart and the one of the ColumnChart are the same

Expected Behaviour

No response

Screenshots or Videos

image

UI5 Web Components for React Version

1.29.8

UI5 Web Components Version

1.24.8

Browser

Chrome

Operating System

No response

Additional Context

No response

Relevant log output

No response

Organization

No response

Declaration

  • I’m not disclosing any internal or sensitive information.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant