Merge pull request #1984 from Owaiseimdad/FIX-for-background-of-charts

Added background for charts for clarity
This commit is contained in:
Alexander Holliday authored and GitHub committed 2025-03-31 09:31:06 -07:00
commit d11e21b433
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ const ChartBox = ({
flex={1}
direction="row"
sx={{
backgroundColor: theme.palette.primary.main,
backgroundColor: theme.palette.tertiary.main,
border: 1,
borderStyle: "solid",
@@ -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 (