We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1f579e commit d6463b0Copy full SHA for d6463b0
1 file changed
packages/vtable/src/dataset/dataset.ts
@@ -484,6 +484,27 @@ export class Dataset {
484
).negativeMin = negativeMin;
485
}
486
487
+ } else if (typeof this.collectValuesBy[field]?.extendRange === 'number') {
488
+ for (const byKeys in this.collectedValues[field]) {
489
+ let max = (
490
+ this.collectedValues[field][byKeys] as {
491
+ max: number;
492
+ min: number;
493
+ positiveMax?: number;
494
+ negativeMin?: number;
495
+ }
496
+ ).max;
497
+ max = Math.max(max, this.collectValuesBy[field]?.extendRange as number);
498
+
499
+ (
500
501
502
503
504
505
506
+ ).max = max;
507
508
509
510
0 commit comments