Feat: add new style to percentage chart

This commit is contained in:
Cesar 2021-01-06 16:39:36 +00:00 committed by Josh Harvey
parent cc14f37b6d
commit b8d55e82c4
2 changed files with 27 additions and 7 deletions

View file

@ -223,4 +223,30 @@ const SystemPerformance = () => {
)
}
/**
<Grid item xs={4}>
<div style={{ display: 'flex' }}>
<Label2>Direction</Label2>
<div style={{ marginLeft: 8, display: 'flex' }}>
<div
style={{
width: 8,
height: 8,
borderRadius: 2,
marginTop: 18,
marginRight: 8,
backgroundColor: 'pink'
}}
/>
<p>In</p>
</div>
</div>
<Grid container>
<Grid item xs>
<PercentageChart data={getDirectionPercent()} />
</Grid>
</Grid>
</Grid>
*/
export default SystemPerformance