The previous position was overlapping the data points.
Fixes: https://tracker.ceph.com/issues/42623
Signed-off-by: Tiago Melo <tmelo@suse.com>
(cherry picked from commit
534b202f402a0ac6adb1b4c223a0bf21d76fe2e7)
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;