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

This commit is contained in:
Victor Marin 2023-03-21 16:03:34 +02:00 committed by GitHub
parent d2b19c167b
commit 24ecc7d0dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>