Commit 0c31d230 by Torkel Ödegaard

grid: fixed grid width issues

parent 70005d3e
...@@ -256,7 +256,7 @@ export class BackendSrv { ...@@ -256,7 +256,7 @@ export class BackendSrv {
gridPos: { gridPos: {
x: 0, x: 0,
y: 0, y: 0,
w: 4, w: 8,
h: 10 h: 10
} }
}, },
...@@ -268,7 +268,7 @@ export class BackendSrv { ...@@ -268,7 +268,7 @@ export class BackendSrv {
gridPos: { gridPos: {
x: 4, x: 4,
y: 0, y: 0,
w: 4, w: 8,
h: 10 h: 10
} }
}, },
...@@ -280,7 +280,7 @@ export class BackendSrv { ...@@ -280,7 +280,7 @@ export class BackendSrv {
gridPos: { gridPos: {
x: 8, x: 8,
y: 0, y: 0,
w: 4, w: 8,
h: 10 h: 10
} }
} }
......
...@@ -148,7 +148,7 @@ export class DashNavCtrl { ...@@ -148,7 +148,7 @@ export class DashNavCtrl {
addPanel() { addPanel() {
this.dashboard.addPanel({ this.dashboard.addPanel({
type: 'graph', type: 'graph',
gridPos: {x: 0, y: 0, w: 6, h: 5}, gridPos: {x: 0, y: 0, w: 12, h: 7},
title: 'New Graph', title: 'New Graph',
}); });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment