Commit fbd8855
fix: bottom legend spacing and layout calculation
- Fix bottom legend overlapping X-axis labels by adding padding to
bottom of chart area (pb += 32) instead of only increasing SVG height
- This keeps chart area size consistent while adding dedicated space
below X-axis labels for the legend
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent e89154e commit fbd8855
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | | - | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
179 | 180 | | |
180 | 181 | | |
181 | 182 | | |
182 | | - | |
| 183 | + | |
183 | 184 | | |
184 | 185 | | |
185 | 186 | | |
| |||
0 commit comments