Commit ecb26f8
committed
[FIX] chart: don't crash treemap without visible data
Steps to reproduce:
- in A1: "Year"
- in B1: "2025"
- create a tree map chart with Hierachy: A1 and Values: B1
- go to the design panel
- change it to "Color scale"
- hide column B
=> Crash
opw-5166581
closes #7549
Task: 5365419
Signed-off-by: Pierre Rousseau (pro) <[email protected]>1 parent 645e850 commit ecb26f8
File tree
2 files changed
+26
-0
lines changed- src/helpers/figures/charts/runtime
- tests/figures/chart/treemap
2 files changed
+26
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
692 | 692 | | |
693 | 693 | | |
694 | 694 | | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
695 | 698 | | |
696 | 699 | | |
697 | 700 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
431 | 432 | | |
432 | 433 | | |
433 | 434 | | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
434 | 457 | | |
435 | 458 | | |
436 | 459 | | |
| |||
0 commit comments