Skip to content
Snippets Groups Projects
Closed Web [Charts]: Support label rotation and truncation
  • View options
  • Web [Charts]: Support label rotation and truncation

  • View options
  • Closed Issue created by Warren Gifford

    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.

    Screenshot 2022-07-19 at 15 24 18

    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

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first