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
a1e39ce2
Commit
a1e39ce2
authored
Jan 12, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed show/hide axis toggles, #1331
parent
c39f9ed2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
7 deletions
+24
-7
src/app/directives/arrayJoin.js
+1
-0
src/app/panels/graph/axisEditor.html
+22
-6
src/css/less/forms.less
+1
-1
No files found.
src/app/directives/arrayJoin.js
View file @
a1e39ce2
...
...
@@ -31,4 +31,5 @@ function (angular, app, _) {
}
};
});
});
src/app/panels/graph/axisEditor.html
View file @
a1e39ce2
...
...
@@ -5,7 +5,7 @@
<div
class=
"grafana-target-inner"
>
<ul
class=
"grafana-segment-list"
>
<li
class=
"grafana-target-segment"
style=
"width: 90px"
>
<strong>
Left Y
Axis
</strong>
<strong>
Left Y
</strong>
</li>
<li
class=
"grafana-target-segment"
>
Unit
...
...
@@ -38,16 +38,13 @@
<input
type=
"text"
class=
"input-small grafana-target-segment-input"
placeholder=
"auto"
ng-model=
"panel.leftYAxisLabel"
ng-change=
"render()"
ng-model-onblur
>
</li>
<li
class=
"grafana-target-segment"
>
Show
</li>
</ul>
<div
class=
"clearfix"
></div>
</div>
<div
class=
"grafana-target-inner"
>
<ul
class=
"grafana-segment-list"
>
<li
class=
"grafana-target-segment"
style=
"width: 90px"
>
<strong>
Right Y
Axis
</strong>
<strong>
Right Y
</strong>
</li>
<li
class=
"grafana-target-segment"
>
Unit
...
...
@@ -80,12 +77,30 @@
<input
type=
"text"
class=
"input-small grafana-target-segment-input"
placeholder=
"auto"
ng-model=
"panel.rightYAxisLabel"
ng-change=
"render()"
ng-model-onblur
>
</li>
</ul>
<div
class=
"clearfix"
></div>
</div>
<div
class=
"grafana-target-inner"
>
<ul
class=
"grafana-segment-list"
>
<li
class=
"grafana-target-segment"
style=
"width: 90px"
>
<strong>
Show Axis
</strong>
</li>
<li
class=
"grafana-target-segment"
>
X-Axis
<input
class=
"cr1"
id=
"hideXAxis"
type=
"checkbox"
ng-model=
"panel['x-axis']"
ng-checked=
"panel['x-axis']"
ng-change=
"render()"
>
<label
for=
"hideXAxis"
class=
"cr1"
></label>
</li>
<li
class=
"grafana-target-segment"
>
Show
Y-Axis
<input
class=
"cr1"
id=
"hideYAxis"
type=
"checkbox"
ng-model=
"panel['y-axis']"
ng-checked=
"panel['y-axis']"
ng-change=
"render()"
>
<label
for=
"hideYAxis"
class=
"cr1"
></label>
</li>
</ul>
<div
class=
"clearfix"
></div>
</div>
</div>
</div>
</div>
...
...
@@ -122,6 +137,7 @@
</ul>
<div
class=
"clearfix"
></div>
</div>
</div>
</div>
</div>
...
...
src/css/less/forms.less
View file @
a1e39ce2
...
...
@@ -15,7 +15,7 @@ input[type="checkbox"]+.cr1 {
height: 19px;
clear: none;
text-indent: 2px;
margin
-top: 4px
;
margin
: 0
;
padding: 0 0 0 20px;
vertical-align:middle;
background: url(@checkboxImageUrl) left top no-repeat;
...
...
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