Closed phuongdoan13 closed 1 year ago
Please open a separate issue about the tooltips. Do not worry too much about how it will render on small screens since most people are using the application from their laptop or desktop computer not from their phones.
You should divide the number by 10 in the above-mentioned example since you should report the percentage in the selected time range. This will have the same behaviour of the natural ventilation tab. Have a look at the chart at the bottom of the page after you apply a filter. The chart displays for which percentage of the selected time natural ventilation can be used.
Hi Federico, if the denominator is 10, that means my code is correct.
Great, I will then now merge it.
What I have done
What I have not done
Clarification requirement [Important]
Regarding the percentage display of the thermal stress distribution chart, I'm not sure which scenario that I need to implement.
Let consider a specific month (say Jan, doesn't really matter).
Initally, there are 10 categories with the counts like this: [10, 10, 10, ..., 10] (in total 100). Then, I do an hour filter, and the counts change like this [3, 0, 1,..., 1] (in total 10).
My question is: WHAT IS THE DENOMINATOR?
Two Scenarios: