Added virtual bytes pipe for mempool graph.

Added decimals to mempool graph y-axis.
fixes #14
fixes #12
This commit is contained in:
Simon Lindh
2019-10-31 13:55:25 +08:00
parent 141e0a7f01
commit aa64cb3665
3 changed files with 72 additions and 5 deletions

View File

@@ -3,6 +3,7 @@ import { CommonModule } from '@angular/common';
import { NgbButtonsModule, NgbModalModule } from '@ng-bootstrap/ng-bootstrap';
import { BytesPipe } from './pipes/bytes-pipe/bytes.pipe';
import { VbytesPipe } from './pipes/bytes-pipe/vbytes.pipe';
import { RoundPipe } from './pipes/math-round-pipe/math-round.pipe';
import { CeilPipe } from './pipes/math-ceil/math-ceil.pipe';
import { ChartistComponent } from '../statistics/chartist.component';
@@ -18,17 +19,20 @@ import { ChartistComponent } from '../statistics/chartist.component';
RoundPipe,
CeilPipe,
BytesPipe,
VbytesPipe,
],
exports: [
RoundPipe,
CeilPipe,
BytesPipe,
VbytesPipe,
NgbButtonsModule,
NgbModalModule,
ChartistComponent,
],
providers: [
BytesPipe
BytesPipe,
VbytesPipe,
]
})
export class SharedModule { }