Skip to content

Commit 6e0e748

Browse files
committed
Add unit labels
1 parent c8c7d7e commit 6e0e748

File tree

3 files changed

+5
-12
lines changed

3 files changed

+5
-12
lines changed

src/components/Histogram.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,6 @@ const Histogram = ({ aggregateData, selectedKPI }) => {
1616
range: [],
1717
};
1818

19-
const kpiLabels = {
20-
pricing: "Pricing",
21-
discoveryTime: "Discovery Time",
22-
performanceRTR: "Realtime Ratio",
23-
performanceSR: "Success Rate",
24-
};
25-
2619
return (
2720
<div className="histogram">
2821
{/* Histogram Chart */}

src/components/RankingTable.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ const RankingTable = ({ orchestrators, selectedKPI }) => {
1313

1414
const kpiLabel = {
1515
avgPrice: "Price",
16-
avgDiscoveryTime: "Discovery Time",
17-
avgRTR: "Realtime Ratio",
16+
avgDiscoveryTime: "Time",
17+
avgRTR: "Ratio",
1818
};
1919

2020
// Extract unique regions for dropdown options

src/pages/home.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ const Home = () => {
1818
const getTitle = () => {
1919
switch (activeKPI) {
2020
case "pricing":
21-
return "Pricing";
21+
return "Pricing (PPP)";
2222
case "discovery-time":
23-
return "Discovery Time";
23+
return "Discovery Time (MS)";
2424
case "performance":
25-
return "Performance";
25+
return "Performance (RTR)";
2626
default:
2727
return "UNKOWN";
2828
}

0 commit comments

Comments
 (0)