| 
									
										
										
										
											2022-02-21 14:02:41 +09:00
										 |  |  | <div [class]="widget === false ? 'full-container' : ''"> | 
					
						
							| 
									
										
										
										
											2022-02-19 22:09:35 +09:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-03-09 21:21:44 +01:00
										 |  |  |   <div class="card-header mb-0 mb-md-4" [style]="widget ? 'display:none' : ''"> | 
					
						
							| 
									
										
										
										
											2022-03-14 18:06:54 +01:00
										 |  |  |     <span i18n="mining.mining-pool-share">Hashrate & Difficulty</span> | 
					
						
							| 
									
										
										
										
											2022-02-21 12:22:20 +09:00
										 |  |  |     <form [formGroup]="radioGroupForm" class="formRadioGroup" *ngIf="(hashrateObservable$ | async) as hashrates"> | 
					
						
							| 
									
										
										
										
											2022-02-19 22:09:35 +09:00
										 |  |  |       <div class="btn-group btn-group-toggle" ngbRadioGroup name="radioBasic" formControlName="dateSpan"> | 
					
						
							| 
									
										
										
										
											2022-02-21 12:22:20 +09:00
										 |  |  |         <label ngbButtonLabel class="btn-primary btn-sm" *ngIf="hashrates.availableTimespanDay >= 90"> | 
					
						
							|  |  |  |           <input ngbButton type="radio" [value]="'3m'"> 3M | 
					
						
							| 
									
										
										
										
											2022-02-19 22:09:35 +09:00
										 |  |  |         </label> | 
					
						
							| 
									
										
										
										
											2022-02-21 12:22:20 +09:00
										 |  |  |         <label ngbButtonLabel class="btn-primary btn-sm" *ngIf="hashrates.availableTimespanDay >= 180"> | 
					
						
							|  |  |  |           <input ngbButton type="radio" [value]="'6m'"> 6M | 
					
						
							| 
									
										
										
										
											2022-02-19 22:09:35 +09:00
										 |  |  |         </label> | 
					
						
							| 
									
										
										
										
											2022-02-21 12:22:20 +09:00
										 |  |  |         <label ngbButtonLabel class="btn-primary btn-sm" *ngIf="hashrates.availableTimespanDay >= 365"> | 
					
						
							|  |  |  |           <input ngbButton type="radio" [value]="'1y'"> 1Y | 
					
						
							| 
									
										
										
										
											2022-02-19 22:09:35 +09:00
										 |  |  |         </label> | 
					
						
							| 
									
										
										
										
											2022-02-21 12:22:20 +09:00
										 |  |  |         <label ngbButtonLabel class="btn-primary btn-sm" *ngIf="hashrates.availableTimespanDay >= 730"> | 
					
						
							|  |  |  |           <input ngbButton type="radio" [value]="'2y'"> 2Y | 
					
						
							| 
									
										
										
										
											2022-02-19 22:09:35 +09:00
										 |  |  |         </label> | 
					
						
							| 
									
										
										
										
											2022-02-21 12:22:20 +09:00
										 |  |  |         <label ngbButtonLabel class="btn-primary btn-sm" *ngIf="hashrates.availableTimespanDay >= 1095"> | 
					
						
							|  |  |  |           <input ngbButton type="radio" [value]="'3y'"> 3Y | 
					
						
							| 
									
										
										
										
											2022-02-19 22:09:35 +09:00
										 |  |  |         </label> | 
					
						
							|  |  |  |         <label ngbButtonLabel class="btn-primary btn-sm"> | 
					
						
							| 
									
										
										
										
											2022-02-21 12:22:20 +09:00
										 |  |  |           <input ngbButton type="radio" [value]="'all'"> ALL | 
					
						
							| 
									
										
										
										
											2022-02-19 22:09:35 +09:00
										 |  |  |         </label> | 
					
						
							|  |  |  |       </div> | 
					
						
							|  |  |  |     </form> | 
					
						
							|  |  |  |   </div> | 
					
						
							| 
									
										
										
										
											2022-02-21 14:02:41 +09:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-03-09 21:21:44 +01:00
										 |  |  |   <div [class]="!widget ? 'chart' : 'chart-widget'" | 
					
						
							| 
									
										
										
										
											2022-02-22 20:15:15 +09:00
										 |  |  |     echarts [initOpts]="chartInitOptions" [options]="chartOptions"></div> | 
					
						
							| 
									
										
										
										
											2022-03-09 21:21:44 +01:00
										 |  |  |   <div class="text-center loadingGraphs" *ngIf="isLoading"> | 
					
						
							| 
									
										
										
										
											2022-02-21 14:02:41 +09:00
										 |  |  |     <div class="spinner-border text-light"></div> | 
					
						
							|  |  |  |   </div> | 
					
						
							|  |  |  |    | 
					
						
							| 
									
										
										
										
											2022-02-19 22:09:35 +09:00
										 |  |  | </div> |