Add default data to title tooltip MM/dd HH:mm.

Add symbol to tx chart tooltip .
This commit is contained in:
Miguel Medeiros
2021-08-26 23:29:39 -03:00
parent 0cb27661a3
commit 4d66f41c56
2 changed files with 4 additions and 16 deletions

View File

@@ -204,13 +204,7 @@ export class MempoolGraphComponent implements OnInit, OnChanges {
type: 'category',
boundaryGap: false,
axisLine: { onZero: false },
data: labels.map((value: any) => {
if (['2h', '24h'].includes(this.windowPreference) || this.size === 'small') {
return formatDate(value, 'HH:mm', this.locale);
} else {
return formatDate(value, 'MM/dd - HH:mm', this.locale);
}
}),
data: labels.map((value: any) => formatDate(value, 'MM/dd - HH:mm', this.locale)),
}
],
yAxis: {