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 7e23d91 commit 3b5ddb6Copy full SHA for 3b5ddb6
src/panel/canvas/graph_canvas.ts
@@ -553,7 +553,12 @@ export default class CanvasDrawer {
553
}
554
if (responseTime >= 0) {
555
const decimals = responseTime >= 1000 ? 1 : 0;
556
- lines.push('Avg. Resp. Time: ' + humanFormat(responseTime, { scale: this.timeScale, decimals }));
+
557
+ var labelText = 'Avg. Resp. Time: ';
558
+ if(this.controller.getSettings().sumTimings.value) {
559
+ labelText = 'Total Resp. Time: ';
560
+ }
561
+ lines.push(labelText + humanFormat(responseTime, { scale: this.timeScale, decimals }));
562
563
564
const pos = node.position();
0 commit comments