Skip to content

Commit

Permalink
feat: update chartscii and add value labels
Browse files Browse the repository at this point in the history
  • Loading branch information
joshjohanning committed Jun 4, 2024
1 parent ca88866 commit 3d34650
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ const chart = new chartscii(data, {
height: 5,
title: "Totals by year",
fill: "░",
valueLabels: true,
});

console.log(chart.create());
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"start": "node main.js"
},
"dependencies": {
"chartscii": "^3.0.1",
"chartscii": "^3.1.0",
"prettyjson": "^1.2.5",
"yargs": "^17.7.2"
}
Expand Down

0 comments on commit 3d34650

Please sign in to comment.