Fixing missing dashboard graph labels in Firefox.
This commit is contained in:
parent
1fc4e9530d
commit
018e95e648
@ -54,7 +54,7 @@ export class MempoolGraphComponent implements OnInit, OnChanges {
|
|||||||
case '1y':
|
case '1y':
|
||||||
value = formatDate(value, 'dd/MM', this.locale);
|
value = formatDate(value, 'dd/MM', this.locale);
|
||||||
}
|
}
|
||||||
return index % labelHops === 0 ? value : null;
|
return index % labelHops === 0 ? value : null;
|
||||||
};
|
};
|
||||||
|
|
||||||
this.mempoolVsizeFeesOptions = {
|
this.mempoolVsizeFeesOptions = {
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
<hr>
|
<hr>
|
||||||
</div>
|
</div>
|
||||||
<div style="height: 250px;" *ngIf="(mempoolStats$ | async) as mempoolStats">
|
<div style="height: 250px;" *ngIf="(mempoolStats$ | async) as mempoolStats">
|
||||||
<app-mempool-graph [data]="mempoolStats.mempool" [showLegend]="false" [offsetX]="10" [small]="true"></app-mempool-graph>
|
<app-mempool-graph [data]="mempoolStats.mempool" [showLegend]="false" [offsetX]="20" [small]="true"></app-mempool-graph>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -194,7 +194,7 @@ export class DashboardComponent implements OnInit {
|
|||||||
},
|
},
|
||||||
axisX: {
|
axisX: {
|
||||||
labelInterpolationFnc: (value: any, index: any) => index % 24 === 0 ? formatDate(value, 'HH:mm', this.locale) : null,
|
labelInterpolationFnc: (value: any, index: any) => index % 24 === 0 ? formatDate(value, 'HH:mm', this.locale) : null,
|
||||||
offset: 10
|
offset: 20
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
Chartist.plugins.ctTargetLine({
|
Chartist.plugins.ctTargetLine({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user