Barchart: Fix erroneous tooltip value (#61455)

Fix Barchart tooltip value issue
This commit is contained in:
Victor Marin 2023-01-17 11:30:30 +02:00 committed by GitHub
parent b44b6fc5c6
commit b5383b7d05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -355,7 +355,7 @@ export const BarChartPanel: React.FunctionComponent<Props> = ({
offset={{ x: TOOLTIP_OFFSET, y: TOOLTIP_OFFSET }}
allowPointerEvents={isToolTipOpen.current}
>
{renderTooltip(info.aligned, focusedSeriesIdx, focusedPointIdx)}
{renderTooltip(info.viz[0], focusedSeriesIdx, focusedPointIdx)}
</VizTooltipContainer>
)}
</Portal>