Web [Charts]: Support label rotation and truncation
View options
- Truncate descriptions
Created by: vovakulikov
Background
Currently, the bar chart (and all categorical-like charts) have a problem with label overlapping when dealing with many items (bars) datasets. See the image below.

Code Insights compute live preview bar chart
We should
- Render only the appropriate number of legend items based on their length and available space
- Rotate labels to increase square for label rendering
- Truncate label text if they are too long to fit in available label space