[v9.4.x] Fix x-value being formatted as time when not necessary (#65114)

Fix x-value being formatted as time when not necessary (#65095)

(cherry picked from commit 24ecc7d0dc)

Co-authored-by: Victor Marin <36818606+mdvictor@users.noreply.github.com>
This commit is contained in:
Grot (@grafanabot)
2023-03-21 16:13:14 +02:00
committed by GitHub
co-authored by Victor Marin
parent 4b95a36e82
commit 4452c15714
@@ -102,7 +102,7 @@ export const TooltipView = ({
<tbody>
<tr>
<th>{xField.name}</th>
<td>{fmt(frame.fields[0], xField.values.get(rowIndex))}</td>
<td>{fmt(xField, xField.values.get(rowIndex))}</td>
</tr>
<tr>
<th>{yValue.name}:</th>