From 66ec0a2d8d4f4aab6177214d80c4012af5558365 Mon Sep 17 00:00:00 2001 From: dhrubesh Date: Sun, 2 May 2021 19:51:21 +0530 Subject: [PATCH] updates DB graph title and label --- frontend/src/modules/Metrics/ErrorRateChart.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/modules/Metrics/ErrorRateChart.tsx b/frontend/src/modules/Metrics/ErrorRateChart.tsx index c91c21b4a4..116b29192c 100644 --- a/frontend/src/modules/Metrics/ErrorRateChart.tsx +++ b/frontend/src/modules/Metrics/ErrorRateChart.tsx @@ -206,7 +206,7 @@ class ErrorRateChart extends React.Component { labels: ndata.map((s) => new Date(s.timestamp / 1000000)), // converting from nano second to mili second datasets: [ { - label: "", + label: "Error Percentage (%)", data: ndata.map((s) => s.errorRate), pointRadius: 0.5, borderColor: "rgba(227, 74, 51,1)", // Can also add transparency in border color @@ -219,7 +219,7 @@ class ErrorRateChart extends React.Component { return (
{this.GraphTracePopUp()} -
Errors per sec
+
Error Percentage (%)