1
0
Fork 0

WebUI typo into the buffering section.

This commit is contained in:
Ludovic Fernandez 2018-05-22 12:28:03 +02:00 committed by Traefiker Bot
parent 3f0af3fe09
commit 1cc1a4e6e2
6 changed files with 9 additions and 3 deletions

View file

@ -1,5 +1,6 @@
import { Component, ElementRef, Input, OnChanges, OnInit, SimpleChanges } from '@angular/core';
import { axisBottom, axisLeft, easeLinear, max, min, scaleBand, scaleLinear, select } from 'd3';
import { format } from 'd3-format';
import * as _ from 'lodash';
import { WindowService } from '../../services/window.service';
@ -93,7 +94,7 @@ export class BarChartComponent implements OnInit, OnChanges {
.call(axisBottom(this.x));
this.g.select('.axis--y')
.call(axisLeft(this.y).tickSize(-this.width));
.call(axisLeft(this.y).tickFormat(format('~s')).tickSize(-this.width));
// Clean previous graph
this.g.selectAll('.bar').remove();

View file

@ -559,7 +559,7 @@
<div class="field is-grouped is-grouped-multiline">
<div class="control">
<div class="tags has-addons">
<span class="tag is-light">Men</span>
<span class="tag is-light">Mem</span>
<span class="tag is-info">{{ p.buffering.memRequestBodyBytes }}</span>
</div>
</div>
@ -582,7 +582,7 @@
<div class="field is-grouped is-grouped-multiline">
<div class="control">
<div class="tags has-addons">
<span class="tag is-light">Men</span>
<span class="tag is-light">Mem</span>
<span class="tag is-info">{{ p.buffering.memResponseBodyBytes }}</span>
</div>
</div>