Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Reduced height chart
  • Loading branch information
ianvizarra committed Mar 29, 2020
commit 49bbae6cfcf72a3e0a2423bafb66ab240bf085bc
2 changes: 1 addition & 1 deletion lib/cli/chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const chart = require('asciichart');
// generate chart for caes or deaths
exports.generate = (data, type = 'cases') => {
const config = {
height: 12,
height: 7,
format: (x, i) => (' ' + x.toFixed(0)).slice(-' '.length)
};
chartData = Object.values(data.timeline[type]).flat();
Expand Down