mirror of
https://github.com/ceph/ceph
synced 2025-02-20 17:37:29 +00:00
mgr/dashboard: Improve position of MDS chart tooltip
The previous position was overlapping the data points. Fixes: https://tracker.ceph.com/issues/42623 Signed-off-by: Tiago Melo <tmelo@suse.com>
This commit is contained in:
parent
7e4ef7f8ec
commit
534b202f40
@ -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