Commit 32f7759
CMM-2001: Replace previous-period line with stacked bars in Views chart (#22752)
* Replace previous-period line with stacked bars in Views chart
Use stacked column bars instead of a dashed line overlay to show
previous period data in the bar chart mode of the Views stats card.
When the previous period exceeds the current, a grey bar stacks on
top to reach the previous value.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Round bar tops only when no stacked bar is present
Use three stacked series so that bars without a grey delta
portion get rounded tops while bars with a stacked grey
portion stay flat, with only the grey bar rounded on top.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Reduce bar chart corner rounding from 40% to 20%
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 9839944 commit 32f7759
1 file changed
Lines changed: 57 additions & 24 deletions
Lines changed: 57 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
| |||
520 | 521 | | |
521 | 522 | | |
522 | 523 | | |
523 | | - | |
524 | | - | |
525 | | - | |
526 | | - | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
527 | 559 | | |
528 | | - | |
529 | | - | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
530 | 563 | | |
531 | 564 | | |
532 | 565 | | |
| |||
677 | 710 | | |
678 | 711 | | |
679 | 712 | | |
680 | | - | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
681 | 727 | | |
682 | 728 | | |
683 | | - | |
684 | | - | |
685 | | - | |
686 | | - | |
687 | | - | |
688 | | - | |
689 | | - | |
690 | | - | |
691 | | - | |
692 | | - | |
693 | | - | |
694 | | - | |
695 | | - | |
696 | | - | |
697 | | - | |
698 | | - | |
699 | | - | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
700 | 733 | | |
701 | 734 | | |
702 | 735 | | |
| |||
0 commit comments