Skip to content

Commit

Permalink
fix(frontend): use whole int left axes for crash + anr instances plots
Browse files Browse the repository at this point in the history
fixes #1216
  • Loading branch information
anupcowkur committed Sep 10, 2024
1 parent 6e29ceb commit e36f3fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ const ExceptionsDetailsPlot: React.FC<ExceptionsDetailsPlotProps> = ({ appId, ex
axisLeft={{
tickSize: 1,
tickPadding: 5,
format: value => Number.isInteger(value) ? value : '',
legend: exceptionsType === ExceptionsType.Crash ? 'Crash instances' : 'ANR instances',
legendOffset: -80,
legendPosition: 'middle'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ const ExceptionsOverviewPlot: React.FC<ExceptionsOverviewPlotProps> = ({ appId,
axisLeft={{
tickSize: 1,
tickPadding: 5,
format: value => Number.isInteger(value) ? value : '',
legend: exceptionsType === ExceptionsType.Crash ? '% Crash free sessions ' : '% ANR free sessions',
legendOffset: -80,
legendPosition: 'middle'
Expand Down

0 comments on commit e36f3fd

Please sign in to comment.