Skip to content

Commit

Permalink
fix chart labels
Browse files Browse the repository at this point in the history
  • Loading branch information
Codebmk committed Jan 22, 2024
1 parent 63c5941 commit 2f2c67b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ const AveragesChart = ({ classes, analyticsSites, isGrids, isCohorts, analyticsD
},
scaleLabel: {
display: true,
labelString: 'Locations'
labelString: isCohorts ? 'Devices' : 'Locations'
}
}
],
Expand Down Expand Up @@ -684,7 +684,7 @@ const AveragesChart = ({ classes, analyticsSites, isGrids, isCohorts, analyticsD
border: 'none'
}}
>
View all Locations <ArrowForwardIcon />
View all {isCohorts ? 'Devices' : 'Locations'} <ArrowForwardIcon />
</Button>
</CardActions>
</Card>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ const ExceedancesChart = (props) => {
stacked: true,
scaleLabel: {
display: true,
labelString: 'Locations',
labelString: isCohorts ? 'Devices' : 'Locations',
// fontWeight: 4,
// fontColor: "black",
fontSize: 15,
Expand Down

0 comments on commit 2f2c67b

Please sign in to comment.