mirror of
https://github.com/mempool/mempool.git
synced 2025-02-24 22:58:30 +01:00
Fix graph data for incoming transaction graphs
This commit is contained in:
parent
37722fe165
commit
41f3f0ab46
2 changed files with 2 additions and 2 deletions
|
@ -134,7 +134,7 @@ export class StatisticsComponent implements OnInit {
|
|||
|
||||
this.mempoolTransactionsWeightPerSecondData = {
|
||||
labels: labels,
|
||||
series: [mempoolStats.map((stats) => stats.vbytes_per_second)],
|
||||
series: [mempoolStats.map((stats) => [stats.added * 1000, stats.vbytes_per_second])],
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -286,7 +286,7 @@ export class DashboardComponent implements OnInit {
|
|||
|
||||
return {
|
||||
labels: labels,
|
||||
series: [mempoolStats.map((stats) => stats.vbytes_per_second)],
|
||||
series: [mempoolStats.map((stats) => [stats.added * 1000, stats.vbytes_per_second])],
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue