Add share % in pie chart label

This commit is contained in:
nymkappa
2022-01-21 11:17:36 +09:00
parent dcf613e065
commit add06ede7f
4 changed files with 93 additions and 82 deletions

View File

@@ -53,22 +53,22 @@ export interface LiquidPegs {
export interface ITranslators { [language: string]: string; }
export interface SinglePoolStats {
pooldId: number,
name: string,
link: string,
blockCount: number,
emptyBlocks: number,
rank: number,
share: string,
lastEstimatedHashrate: string,
emptyBlockRatio: string,
logo: string,
pooldId: number;
name: string;
link: string;
blockCount: number;
emptyBlocks: number;
rank: number;
share: string;
lastEstimatedHashrate: string;
emptyBlockRatio: string;
logo: string;
}
export interface PoolsStats {
blockCount: number,
lastEstimatedHashrate: number,
pools: SinglePoolStats[],
blockCount: number;
lastEstimatedHashrate: number;
pools: SinglePoolStats[];
}
export interface ITranslators { [language: string]: string; }