Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
0c31d230
Commit
0c31d230
authored
Oct 13, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
grid: fixed grid width issues
parent
70005d3e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
public/app/core/services/backend_srv.ts
+3
-3
public/app/features/dashboard/dashnav/dashnav.ts
+1
-1
No files found.
public/app/core/services/backend_srv.ts
View file @
0c31d230
...
@@ -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
}
}
}
}
...
...
public/app/features/dashboard/dashnav/dashnav.ts
View file @
0c31d230
...
@@ -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'
,
});
});
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment