Long labels break UI on metric embed chart embeds
Problem
When metrics are embedded and their labels are long, the UI breaks. Sometimes, the long labels are just getting cut off; at other times, that they are overflowing their containers.
Here is an example showing long value names in chart popovers overflowing their container (from the alert detail page):
We've also noticed this issue happening with y-axis labels, as well, where the axis label just gets cut off when it's too long:
Proposal
We should ensure that long labels in charts are formatted properly. In the case of chart popovers, long value names could wrap. In the case of y-axis labels, long labels could either truncate or wrap, depending on what ECharts allows.
Edited by Amelia Bauerly