2022-05-10 14:52:37 +02:00
< app-indexing-progress ></ app-indexing-progress >
2022-05-02 17:28:58 +09:00
2022-04-11 18:17:36 +09:00
< div class = "full-container" >
2022-02-24 16:55:18 +09:00
2022-07-16 21:37:45 +02:00
< div class = "card-header mb-0 mb-md-4" >
< div class = "d-flex d-md-block align-items-baseline" >
< span i18n = "mining.pools-dominance" > Pools Dominance</ span >
< button class = "btn p-0 pl-2" style = "margin: 0 0 4px 0px" ( click )=" onSaveChart ()" >
< fa-icon [ icon ]="[' fas ', ' download ']" [ fixedWidth ]=" true " ></ fa-icon >
</ button >
</ div >
2022-04-11 18:17:36 +09:00
< form [ formGroup ]=" radioGroupForm " class = "formRadioGroup" * ngIf = "(hashrateObservable$ | async) as stats" >
2023-02-21 18:48:09 +09:00
< div class = "btn-group btn-group-toggle" name = "radioBasic" [ class ]="{' disabled ' : isLoading }" >
2022-11-28 16:00:50 +09:00
< label class = "btn btn-primary btn-sm" * ngIf = "stats.blockCount >= 25920" [ class . active ]=" radioGroupForm . get (' dateSpan '). value = == ' 6m '" >
< input type = "radio" [ value ]="' 6m '" fragment = "6m" [ routerLink ]="['/ graphs / mining / pools-dominance ' | relativeUrl ]" [ attr . data-cy ]="' 6m '" formControlName = "dateSpan" > 6M
2022-02-24 16:55:18 +09:00
</ label >
2022-11-28 16:00:50 +09:00
< label class = "btn btn-primary btn-sm" * ngIf = "stats.blockCount >= 52560" [ class . active ]=" radioGroupForm . get (' dateSpan '). value = == ' 1y '" >
< input type = "radio" [ value ]="' 1y '" fragment = "1y" [ routerLink ]="['/ graphs / mining / pools-dominance ' | relativeUrl ]" [ attr . data-cy ]="' 1y '" formControlName = "dateSpan" > 1Y
2022-02-24 16:55:18 +09:00
</ label >
2022-11-28 16:00:50 +09:00
< label class = "btn btn-primary btn-sm" * ngIf = "stats.blockCount >= 105120" [ class . active ]=" radioGroupForm . get (' dateSpan '). value = == ' 2y '" >
< input type = "radio" [ value ]="' 2y '" fragment = "2y" [ routerLink ]="['/ graphs / mining / pools-dominance ' | relativeUrl ]" [ attr . data-cy ]="' 2y '" formControlName = "dateSpan" > 2Y
2022-02-24 16:55:18 +09:00
</ label >
2022-11-28 16:00:50 +09:00
< label class = "btn btn-primary btn-sm" * ngIf = "stats.blockCount >= 157680" [ class . active ]=" radioGroupForm . get (' dateSpan '). value = == ' 3y '" >
< input type = "radio" [ value ]="' 3y '" fragment = "3y" [ routerLink ]="['/ graphs / mining / pools-dominance ' | relativeUrl ]" [ attr . data-cy ]="' 3y '" formControlName = "dateSpan" > 3Y
2022-04-11 18:17:36 +09:00
</ label >
2022-11-28 16:00:50 +09:00
< label class = "btn btn-primary btn-sm" [ class . active ]=" radioGroupForm . get (' dateSpan '). value = == ' all '" >
< input type = "radio" [ value ]="' all '" fragment = "all" [ routerLink ]="['/ graphs / mining / pools-dominance ' | relativeUrl ]" [ attr . data-cy ]="' all '" formControlName = "dateSpan" > ALL
2022-02-24 16:55:18 +09:00
</ label >
</ div >
</ form >
</ div >
2023-10-18 21:12:51 +00:00
< div class = "chart" * browserOnly echarts [ initOpts ]=" chartInitOptions " [ options ]=" chartOptions "
2022-05-05 16:18:28 +09:00
( chartInit )=" onChartInit ($ event )" >
</ div >
2023-11-02 01:29:55 +00:00
< div class = "text-center loadingGraphs" * ngIf = "!stateService.isBrowser || isLoading" >
2022-02-24 16:55:18 +09:00
< div class = "spinner-border text-light" ></ div >
</ div >
</ div >