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

Add symbol to tx chart tooltip .
This commit is contained in:
Miguel Medeiros committed 2021-09-14 22:35:48 -03:00
1 parent 3574f8639e
commit 1a7decb91d
2 files changed
+4 -16

No files matched your search

@@ -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: {