-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added count for Project and Mode and fix Pie chart (#531)
* Added project and model count and improve pie chart * remove image
- Loading branch information
1 parent
859a614
commit 8b2ca07
Showing
7 changed files
with
332 additions
and
224 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
import { styled } from "@mui/material/styles"; | ||
|
||
const CHART_HEIGHT = 312; | ||
const LEGEND_HEIGHT = 72; | ||
const CHART_HEIGHT = 270; | ||
const LEGEND_HEIGHT = 50; | ||
|
||
export const StyledChartWrapper = styled("div")(({ theme }: any) => ({ | ||
height: CHART_HEIGHT, | ||
// marginTop: theme.spacing(2), | ||
"& .apexcharts-canvas svg": { height: CHART_HEIGHT }, | ||
"& .apexcharts-canvas svg,.apexcharts-canvas foreignObject": { | ||
overflow: "visible", | ||
}, | ||
"& .apexcharts-legend": { | ||
height: LEGEND_HEIGHT, | ||
alignContent: "center", | ||
position: "relative !important", | ||
borderTop: `solid 1px ${theme.palette.divider}`, | ||
top: `calc(${CHART_HEIGHT - LEGEND_HEIGHT}px) !important`, | ||
}, | ||
// "& .apexcharts-canvas svg,.apexcharts-canvas foreignObject": { | ||
// overflow: "visible", | ||
// }, | ||
// "& .apexcharts-legend": { | ||
// height: LEGEND_HEIGHT, | ||
// alignContent: "center", | ||
// position: "relative !important", | ||
// borderTop: `solid 1px ${theme.palette.divider}`, | ||
// top: `calc(${CHART_HEIGHT - LEGEND_HEIGHT}px) !important`, | ||
// }, | ||
})); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.