Commit 575ea72
fix(app): cap RED error-rate y-axis at 100% and tighten axis labels
- The error-rate data is already bounded to [0,1], but recharts' default
auto-domain turns a flat/zero series into a nonsense 0-400% scale. Add an
opt-in yAxisMaxDomain to DBTimeChart / HDXMultiSeriesTimeChart that caps the
upper bound (1 = 100%) while still auto-scaling to smaller values, and use it
on the rate chart. A no-error range now shows 0-100%; a ~5% range still
zooms to ~5%.
- Nudge the compact x-axis tick offset up so labels sit closer to the axis
(extra gap crept in with the edge-anchor change).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 59033f8 commit 575ea72
3 files changed
Lines changed: 33 additions & 1 deletion
File tree
- packages/app/src
- components
- Search
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
652 | 652 | | |
653 | 653 | | |
654 | 654 | | |
| 655 | + | |
655 | 656 | | |
656 | 657 | | |
657 | 658 | | |
| |||
691 | 692 | | |
692 | 693 | | |
693 | 694 | | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
694 | 702 | | |
695 | 703 | | |
696 | 704 | | |
| |||
807 | 815 | | |
808 | 816 | | |
809 | 817 | | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
810 | 830 | | |
811 | 831 | | |
812 | 832 | | |
| |||
851 | 871 | | |
852 | 872 | | |
853 | 873 | | |
| 874 | + | |
854 | 875 | | |
855 | 876 | | |
856 | 877 | | |
| |||
942 | 963 | | |
943 | 964 | | |
944 | 965 | | |
945 | | - | |
| 966 | + | |
946 | 967 | | |
947 | 968 | | |
948 | 969 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
310 | 315 | | |
311 | 316 | | |
312 | 317 | | |
| |||
333 | 338 | | |
334 | 339 | | |
335 | 340 | | |
| 341 | + | |
336 | 342 | | |
337 | 343 | | |
338 | 344 | | |
| |||
855 | 861 | | |
856 | 862 | | |
857 | 863 | | |
| 864 | + | |
858 | 865 | | |
859 | 866 | | |
860 | 867 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
191 | 195 | | |
192 | 196 | | |
193 | 197 | | |
| |||
0 commit comments