Posted 10 March 2020, 11:25 pm EST
We are currently using Wijmo 5.20192.631 for components.
We face a probleme with the FlexChart component.
Let me briefly explain the issue :
We are using the flexbox layout.
If we define the height of the chart with a value in %, then the height of FlexChart component is constantly increasing.
To give you a reproduction context, let’s modify a bit the source code of this exemple :
https://www.grapecity.com/wijmo/demos/Chart/Overview/angular
as follow :
.form-group {
display: flex;
flex-direction: column;
flex: 0;
height: 100%;
}
.wj-flexchart {
flex: 0 0 75%;
min-height: 50%;
}
The same problem arise with :
.wj-flexchart {
flex: 0 0 auto;
min-height: 50%;
height: 75%;
}
The issue seems due to the use of % instead of rem (or px) for height.
The problem can be fixe using a value in rem (or px) but, in fact, we usually use values in % (with exception of body height: 100vh;).
We would like to avoid a fixed value (in rem or px etc.).
Is it possible to fix this problem? (ticket?)
Do you have an other solution?
Best regards