Changed the bg of the gauge itself in order to meet the requirements.

This commit is contained in:
Owaiseimdad
2025-03-30 03:14:30 +05:30
parent ad3ee24adb
commit dfb0bd10d2
@@ -18,13 +18,13 @@ const ResponseGaugeChart = ({ avgResponseTime }) => {
? {
category: "Excellent",
main: theme.palette.success.main,
bg: theme.palette.success.contrastText,
bg: theme.palette.success.lowContrast,
}
: responseTime <= 500
? {
category: "Fair",
main: theme.palette.success.main,
bg: theme.palette.success.contrastText,
bg: theme.palette.success.lowContrast,
}
: responseTime <= 600
? {
@@ -35,7 +35,7 @@ const ResponseGaugeChart = ({ avgResponseTime }) => {
: {
category: "Poor",
main: theme.palette.error.main,
bg: theme.palette.error.contrastText,
bg: theme.palette.error.lowContrast,
};
return (