diff --git a/meshview/templates/node.html b/meshview/templates/node.html
index 7c4ec5d..0ce044d 100644
--- a/meshview/templates/node.html
+++ b/meshview/templates/node.html
@@ -1189,7 +1189,15 @@ async function loadNeighborTimeSeries() {
grid: { bottom: 60 },
tooltip: {
trigger: "axis",
- axisPointer: { type: "line" }
+ axisPointer: { type: "line" },
+ formatter: params => {
+ if (!params.length) return "";
+ const timestamp = Number(params[0].axisValue);
+ const heading = new Date(timestamp / 1000).toLocaleString();
+ return escapeHtml(heading) + "
" + params.map(point =>
+ `${point.marker}${escapeHtml(point.seriesName)}: ${escapeHtml(point.value ?? "N/A")}`
+ ).join("
");
+ }
},
legend: {
type: "scroll",