"Installed capacity" label is shown for aggregated data
Describe the bug "Installed capacity" label should not be shown for aggregated data
To Reproduce Steps to reproduce the behavior:
- Pick any zone
- Select Yearly view
Expected behavior "Installed capacity" label should not be shown for aggregated data.
Screenshots
Let's see if someone want to fix this as a part of Hacktoberfest otherwise I'll pick it up. 👍🏼
I am happy to work on it as part of Hacktoberfest, if it is still available
Should the label removal apply for daily, monthly, and yearly? (except the hourly, because it has the relevant data => capacitySources)
https://github.com/electricitymaps/electricitymaps-contrib/blob/c2796b5d8fb35741c112e2ad6d6f593796a2897b/web/src/features/charts/bar-breakdown/BarBreakdownChart.tsx#L143
I am interesting in picking up this issue, can this be assigned to me.
I am interesting in picking up this issue, can this be assigned to me.
Sure thing, please try and do it in a way that don't cause CLS when shifting between the aggregations.