Skip to content

Commit

Permalink
fixing bytes mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ppisljar committed Jan 13, 2017
1 parent 1f900ac commit ebe5a6a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ module.exports = function timechartFn(Private, config, $rootScope, timefilter, $
yaxis.tickFormatter = tickFormatters[yaxis.units.type];
const byteModes = ['bytes', 'bytes/s'];
if (byteModes.includes(yaxis.units.type)) {
yaxis.tickGenerator = generateTicks(yaxis);
yaxis.tickGenerator = generateTicks;
}
}
});
Expand Down

0 comments on commit ebe5a6a

Please sign in to comment.