Skip to content

Commit c572ca6

Browse files
committed
fix: chnged cols and rows
1 parent 7e26403 commit c572ca6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/cli/gfx/server-util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ loadTemplate = (gridTemplateClass, json, callback) => {
4444
const
4545
customStream = new Stream.Transform()
4646
screen = createScreen({stream: customStream}),
47-
grid = new contrib.grid({rows: 12, cols: 16, screen: screen});
47+
grid = new contrib.grid({rows: 12, cols: 14, screen: screen});
4848

4949
let result = []
5050

lib/cli/gfx/template.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ exports.load = (grid, data) => {
8888
]
8989
});
9090

91-
let line = grid.set(5, 0, 3, 9, contrib.line,
91+
let line = grid.set(5, 0, 4, 9, contrib.line,
9292
{ style:
9393
{ line: "yellow"
9494
, text: "green"
@@ -100,7 +100,7 @@ exports.load = (grid, data) => {
100100
, xLabelPadding: 3
101101
, xPadding: 5
102102
, showLegend: true
103-
, wholeNumbersOnly: false //true=do not show fraction in y axis
103+
, wholeNumbersOnly: true //true=do not show fraction in y axis
104104
, label: `Cases from ${data.from} to ${data.to}`})
105105

106106
let series1 = {

0 commit comments

Comments
 (0)