Commit 6aa7adc
committed
bar: fix normalised group bar plots
* Fixed bug computing the normalisation of bar plots in group mode.
* The bug was caused by calling `sieve.put` with bar sizes that didn't
take into account the bar base.
* Bar plots in stack and relative mode weren't affected by this bug,
because traces that set a bar base are excluded from the
stack/relative mode.1 parent c597b8c commit 6aa7adc
File tree
2 files changed
+24
-3
lines changed- src/traces/bar
- test/jasmine/tests
2 files changed
+24
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
485 | 485 | | |
486 | 486 | | |
487 | 487 | | |
488 | | - | |
489 | | - | |
| 488 | + | |
| 489 | + | |
490 | 490 | | |
491 | 491 | | |
492 | 492 | | |
| |||
524 | 524 | | |
525 | 525 | | |
526 | 526 | | |
527 | | - | |
| 527 | + | |
528 | 528 | | |
529 | 529 | | |
530 | 530 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
453 | 453 | | |
454 | 454 | | |
455 | 455 | | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
456 | 477 | | |
457 | 478 | | |
458 | 479 | | |
| |||
0 commit comments