mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Flamegraph: Fix vertical offset (#57618)
This commit is contained in:
parent
8788f7d2d8
commit
82d79780d8
@ -139,7 +139,7 @@ const FlameGraph = ({
|
||||
|
||||
if (barIndex !== -1 && !isNaN(levelIndex) && !isNaN(barIndex)) {
|
||||
tooltipRef.current.style.left = e.clientX + 10 + 'px';
|
||||
tooltipRef.current.style.top = e.clientY + 40 + 'px';
|
||||
tooltipRef.current.style.top = e.clientY + 'px';
|
||||
|
||||
const bar = levels[levelIndex][barIndex];
|
||||
const tooltipData = getTooltipData(valueField!, bar.label, bar.value, totalTicks);
|
||||
|
Loading…
Reference in New Issue
Block a user