feat(GlChartLegend): add tabular layout
Feature to add
- Adds tabular layout to chart legends
- The table header remains fixed, while the table body scrolls vertically
- The series name takes up 50% of the table width. If the name is longer, it will be cut off. To see the whole name, the user will hover and a tooltip will be displayed
- When a series has no data, en-dashes ("-") are displayed on each table cell
- Should be opt-in by setting a property
Description
Screen_Recording_2020-05-07_at_20.40.24
Legend scroll | Legend item hover | Disabled legend item | Scroll area |
---|---|---|---|
Related issue: gitlab#211340 (closed)
Edited by 🤖 GitLab Bot 🤖