mirror of
https://github.com/ceph/ceph
synced 2025-02-19 00:47:49 +00:00
mgr/dashboard: Improve position of MDS chart tooltip (#31368)
mgr/dashboard: Improve position of MDS chart tooltip Reviewed-by: Volker Theile <vtheile@suse.com>
This commit is contained in:
commit
825979c5c2
@ -124,7 +124,7 @@ export class CephfsChartComponent implements OnChanges, OnInit {
|
||||
this.chartCanvas,
|
||||
this.chartTooltip,
|
||||
(tooltip) => tooltip.caretX + 'px',
|
||||
(tooltip) => tooltip.caretY - tooltip.height - 15 + 'px'
|
||||
(tooltip) => tooltip.caretY - tooltip.height - 23 + 'px'
|
||||
);
|
||||
chartTooltip.getTitle = (ts) => moment(ts, 'x').format('LTS');
|
||||
chartTooltip.checkOffset = true;
|
||||
|
Loading…
Reference in New Issue
Block a user