{{ "home.COIN_IN" | translate }}
Difficulty : %{text:,}',
+ hovertemplate: '%{DifficultychartDate}
Difficulty : %{text:,}',
},
],
layout: {
@@ -1107,7 +1112,7 @@ export class GraphListComponent implements OnInit {
showlegend: false,
xaxis: {
tickangle: -45,
- tickformat: '%m-%d',
+ tickformat: tickformat,
fixedrange: true,
showgrid: true
},
diff --git a/src/app/view/home/home.module.ts b/src/app/view/home/home.module.ts
index 325be79..fe5a3c8 100644
--- a/src/app/view/home/home.module.ts
+++ b/src/app/view/home/home.module.ts
@@ -7,6 +7,7 @@ import { GraphListComponent } from './graph-list/graph-list.component';
import { BlockDetailListComponent } from './block-detail-list/block-detail-list.component';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { SharedModule } from '../../shared/shared.module';
+import { BlockAppendComponent } from './block-append/block-append.component';
import { HttpClientModule, HttpClient, HttpParams } from '@angular/common/http';
import { CookieService } from 'ngx-cookie-service';
@@ -22,6 +23,7 @@ import { CustomLoader } from 'src/app/app.module';
LatestblocksComponent,
GraphListComponent,
BlockDetailListComponent,
+ BlockAppendComponent
],
imports: [
CommonModule,
@@ -30,9 +32,10 @@ import { CustomLoader } from 'src/app/app.module';
ReactiveFormsModule,
SharedModule,
TranslateModule.forChild({
- loader: {provide: TranslateLoader, useClass: CustomLoader, deps : [HttpClient]},
+ loader: {provide: TranslateLoader, useClass: CustomLoader, deps : [HttpClient]},
})
],
+ entryComponents: [BlockAppendComponent],
providers: [TransServiceService,CookieService,ChartService],
})
export class HomeModule {}
diff --git a/src/app/view/home/latestblocks/latestblocks.component.html b/src/app/view/home/latestblocks/latestblocks.component.html
index 904b39f..ac40fb6 100644
--- a/src/app/view/home/latestblocks/latestblocks.component.html
+++ b/src/app/view/home/latestblocks/latestblocks.component.html
@@ -45,6 +45,7 @@