We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e886b4 commit f0e8b4cCopy full SHA for f0e8b4c
src/util/tooltip.js
@@ -34,9 +34,11 @@ export function buildTooltip(bucket, e) {
34
<tr><td>Data:</td><td>${sanitize(JSON.stringify(e.data))}</td></tr>
35
`;
36
}
37
- return `<table>${inner}
+ return `<table>
38
<tr></tr>
39
- <tr><th>Time:</th><td>${moment(e.timestamp).format()}</td></tr>
+ <tr><th>Start:</th><td>${moment(e.timestamp).format()}</td></tr>
40
+ <tr><th>Stop:</th><td>${moment(e.timestamp).add(e.duration, 'seconds').format()}</td></tr>
41
<tr><th>Duration:</th><td>${seconds_to_duration(e.duration)}</td></tr>
42
+ ${inner}
43
</table>`;
44
0 commit comments