Skip to content

Commit 6c73da3

Browse files
committed
version v1.0.0 🎉
1 parent 92553e0 commit 6c73da3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/monitor/mem.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,12 @@ Mem.prototype.updateData = function(data) {
6161

6262
this.line.setData(this.memData);
6363
this.memDonut.setData([{
64-
percent: memPer,
64+
percent: memPer / 100,
6565
label: memTitle,
6666
'color': colors[0]
6767
}, ]);
6868
this.swapDonut.setData([{
69-
percent: swapPer,
69+
percent: swapPer / 100,
7070
label: swapTitle,
7171
'color': colors[1]
7272
}, ]);

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gtop",
3-
"version": "0.1.6",
3+
"version": "1.0.0",
44
"description": "graphic top",
55
"main": "./index.js",
66
"bin": {

0 commit comments

Comments
 (0)