Commit 0c73880
authored
feat(react-charting): enable wrapping of string x-axis labels in DeclarativeChart + hide overlapping labels based on post-transform width (microsoft#34666)
1 parent 1088338 commit 0c73880
File tree
13 files changed
+520
-302
lines changed- change
- packages/charts/react-charting/src
- components
- CommonComponents
- DeclarativeChart
- __snapshots__
- GroupedVerticalBarChart
- VerticalBarChart
- VerticalStackedBarChart
- __snapshots__
- utilities
- __snapshots__
13 files changed
+520
-302
lines changedLines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
Lines changed: 131 additions & 126 deletions
Large diffs are not rendered by default.
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
| 511 | + | |
| 512 | + | |
511 | 513 | | |
512 | | - | |
| 514 | + | |
513 | 515 | | |
514 | 516 | | |
515 | 517 | | |
| |||
525 | 527 | | |
526 | 528 | | |
527 | 529 | | |
| 530 | + | |
528 | 531 | | |
529 | 532 | | |
530 | 533 | | |
| |||
612 | 615 | | |
613 | 616 | | |
614 | 617 | | |
| 618 | + | |
| 619 | + | |
615 | 620 | | |
616 | | - | |
| 621 | + | |
617 | 622 | | |
618 | 623 | | |
619 | 624 | | |
| |||
622 | 627 | | |
623 | 628 | | |
624 | 629 | | |
| 630 | + | |
625 | 631 | | |
626 | 632 | | |
627 | 633 | | |
| |||
735 | 741 | | |
736 | 742 | | |
737 | 743 | | |
| 744 | + | |
738 | 745 | | |
739 | 746 | | |
740 | 747 | | |
| |||
1167 | 1174 | | |
1168 | 1175 | | |
1169 | 1176 | | |
| 1177 | + | |
1170 | 1178 | | |
1171 | 1179 | | |
1172 | 1180 | | |
| |||
2101 | 2109 | | |
2102 | 2110 | | |
2103 | 2111 | | |
| 2112 | + | |
2104 | 2113 | | |
2105 | 2114 | | |
2106 | 2115 | | |
| |||
0 commit comments