diff --git a/frontend/src/app/components/address/address.component.html b/frontend/src/app/components/address/address.component.html index f0e9012c2..22b50b2d9 100644 --- a/frontend/src/app/components/address/address.component.html +++ b/frontend/src/app/components/address/address.component.html @@ -132,25 +132,63 @@
-
- - - - - - - - - - - - -
-
-
-
- -
+ @if (isMobile) { +
+ + + + + + + + + + + + + + + + + + + + + +
+
+ } @else { +
+ + + + + + + + + + + + +
+
+
+ + + + + + + + + + + + +
+
+ }
diff --git a/frontend/src/app/components/incoming-transactions-graph/incoming-transactions-graph.component.ts b/frontend/src/app/components/incoming-transactions-graph/incoming-transactions-graph.component.ts index fe2256bfd..d3d7d8237 100644 --- a/frontend/src/app/components/incoming-transactions-graph/incoming-transactions-graph.component.ts +++ b/frontend/src/app/components/incoming-transactions-graph/incoming-transactions-graph.component.ts @@ -249,12 +249,13 @@ export class IncomingTransactionsGraphComponent implements OnInit, OnChanges, On } ], yAxis: { - max: (value) => { - if (!this.outlierCappingEnabled || value.max < this.medianVbytesPerSecond * OUTLIERS_MEDIAN_MULTIPLIER) { - return undefined; - } else { - return Math.round(this.medianVbytesPerSecond * OUTLIERS_MEDIAN_MULTIPLIER); + max: (value): number => { + let cappedMax = value.max; + if (this.outlierCappingEnabled && value.max >= (this.medianVbytesPerSecond * OUTLIERS_MEDIAN_MULTIPLIER)) { + cappedMax = Math.round(this.medianVbytesPerSecond * OUTLIERS_MEDIAN_MULTIPLIER); } + // always show the clearing rate line, plus a small margin + return Math.max(1800, cappedMax); }, type: 'value', axisLabel: {