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
fe08a7bf
Commit
fe08a7bf
authored
Jan 12, 2014
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added stepped line option
parent
159bab1b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
8 deletions
+16
-8
src/app/panels/graphite/module.js
+2
-1
src/app/panels/graphite/styleEditor.html
+14
-7
No files found.
src/app/panels/graphite/module.js
View file @
fe08a7bf
...
@@ -211,6 +211,7 @@ function (angular, app, $, _, kbn, moment, timeSeries) {
...
@@ -211,6 +211,7 @@ function (angular, app, $, _, kbn, moment, timeSeries) {
zerofill
:
true
,
zerofill
:
true
,
nullPointMode
:
'connected'
,
nullPointMode
:
'connected'
,
steppedLine
:
false
,
tooltip
:
{
tooltip
:
{
value_type
:
'cumulative'
,
value_type
:
'cumulative'
,
...
@@ -564,7 +565,7 @@ function (angular, app, $, _, kbn, moment, timeSeries) {
...
@@ -564,7 +565,7 @@ function (angular, app, $, _, kbn, moment, timeSeries) {
// Silly, but fixes bug in stacked percentages
// Silly, but fixes bug in stacked percentages
fill
:
scope
.
panel
.
fill
===
0
?
0.001
:
scope
.
panel
.
fill
/
10
,
fill
:
scope
.
panel
.
fill
===
0
?
0.001
:
scope
.
panel
.
fill
/
10
,
lineWidth
:
scope
.
panel
.
linewidth
,
lineWidth
:
scope
.
panel
.
linewidth
,
steps
:
fals
e
steps
:
scope
.
panel
.
steppedLin
e
},
},
bars
:
{
bars
:
{
show
:
scope
.
panel
.
bars
,
show
:
scope
.
panel
.
bars
,
...
...
src/app/panels/graphite/styleEditor.html
View file @
fe08a7bf
...
@@ -17,13 +17,6 @@
...
@@ -17,13 +17,6 @@
<label
class=
"small"
>
xAxis
</label><input
type=
"checkbox"
ng-model=
"panel['x-axis']"
ng-checked=
"panel['x-axis']"
ng-change=
"render()"
></div>
<label
class=
"small"
>
xAxis
</label><input
type=
"checkbox"
ng-model=
"panel['x-axis']"
ng-checked=
"panel['x-axis']"
ng-change=
"render()"
></div>
<div
class=
"editor-option"
>
<div
class=
"editor-option"
>
<label
class=
"small"
>
yAxis
</label><input
type=
"checkbox"
ng-model=
"panel['y-axis']"
ng-checked=
"panel['y-axis']"
ng-change=
"render()"
></div>
<label
class=
"small"
>
yAxis
</label><input
type=
"checkbox"
ng-model=
"panel['y-axis']"
ng-checked=
"panel['y-axis']"
ng-change=
"render()"
></div>
<div
class=
"editor-option"
ng-show=
"panel.lines"
>
<label
class=
"small"
>
Line Fill
</label>
<select
class=
"input-mini"
ng-model=
"panel.fill"
ng-options=
"f for f in [0,1,2,3,4,5,6,7,8,9,10]"
ng-change=
"render()"
></select>
</div>
<div
class=
"editor-option"
ng-show=
"panel.lines"
>
<label
class=
"small"
>
Line Width
</label>
<select
class=
"input-mini"
ng-model=
"panel.linewidth"
ng-options=
"f for f in [0,1,2,3,4,5,6,7,8,9,10]"
ng-change=
"render()"
></select>
</div>
</div>
<div
class=
"editor-option"
ng-show=
"panel.points"
>
<div
class=
"editor-option"
ng-show=
"panel.points"
>
<label
class=
"small"
>
Point Radius
</label>
<label
class=
"small"
>
Point Radius
</label>
...
@@ -37,10 +30,24 @@
...
@@ -37,10 +30,24 @@
<label
class=
"small"
>
Right Y Format
<tip>
Y-axis formatting
</tip></label>
<label
class=
"small"
>
Right Y Format
<tip>
Y-axis formatting
</tip></label>
<select
class=
"input-small"
ng-model=
"panel.y2_format"
ng-options=
"f for f in ['none','short','bytes']"
ng-change=
"render()"
></select>
<select
class=
"input-small"
ng-model=
"panel.y2_format"
ng-options=
"f for f in ['none','short','bytes']"
ng-change=
"render()"
></select>
</div>
</div>
</div>
<div
class=
"section"
>
<h5>
Line options
</h5>
<div
class=
"editor-option"
ng-show=
"panel.lines"
>
<label
class=
"small"
>
Line Fill
</label>
<select
class=
"input-mini"
ng-model=
"panel.fill"
ng-options=
"f for f in [0,1,2,3,4,5,6,7,8,9,10]"
ng-change=
"render()"
></select>
</div>
<div
class=
"editor-option"
ng-show=
"panel.lines"
>
<label
class=
"small"
>
Line Width
</label>
<select
class=
"input-mini"
ng-model=
"panel.linewidth"
ng-options=
"f for f in [0,1,2,3,4,5,6,7,8,9,10]"
ng-change=
"render()"
></select>
</div>
<div
class=
"editor-option"
>
<div
class=
"editor-option"
>
<label
class=
"small"
>
Null point mode
<tip>
Define how null values should be drawn
</tip></label>
<label
class=
"small"
>
Null point mode
<tip>
Define how null values should be drawn
</tip></label>
<select
class=
"input-medium"
ng-model=
"panel.nullPointMode"
ng-options=
"f for f in ['connected', 'null', 'null as zero']"
ng-change=
"render()"
></select>
<select
class=
"input-medium"
ng-model=
"panel.nullPointMode"
ng-options=
"f for f in ['connected', 'null', 'null as zero']"
ng-change=
"render()"
></select>
</div>
</div>
<div
class=
"editor-option"
>
<label
class=
"small"
>
Stepped lines
</label><input
type=
"checkbox"
ng-model=
"panel.steppedLine"
ng-checked=
"panel.steppedLine"
ng-change=
"render()"
></div>
</div>
</div>
</div>
<div
class=
"section"
>
<div
class=
"section"
>
<h5>
Multiple Series
</h5>
<h5>
Multiple Series
</h5>
...
...
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