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
a258e2e6
Commit
a258e2e6
authored
May 14, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added log base 2 graph y axis scale
parent
e69bacae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
public/app/panels/graph/graph.js
+1
-1
public/app/panels/graph/module.js
+1
-1
No files found.
public/app/panels/graph/graph.js
View file @
a258e2e6
...
@@ -369,7 +369,7 @@ function (angular, $, kbn, moment, _, GraphTooltip) {
...
@@ -369,7 +369,7 @@ function (angular, $, kbn, moment, _, GraphTooltip) {
if
(
_
.
findWhere
(
data
,
{
yaxis
:
2
}))
{
if
(
_
.
findWhere
(
data
,
{
yaxis
:
2
}))
{
var
secondY
=
_
.
clone
(
defaults
);
var
secondY
=
_
.
clone
(
defaults
);
secondY
.
index
=
2
,
secondY
.
index
=
2
,
secondY
.
logBase
=
scope
.
panel
.
grid
.
rightLogBase
||
2
,
secondY
.
logBase
=
scope
.
panel
.
grid
.
rightLogBase
||
1
,
secondY
.
position
=
'right'
;
secondY
.
position
=
'right'
;
secondY
.
min
=
scope
.
panel
.
grid
.
rightMin
;
secondY
.
min
=
scope
.
panel
.
grid
.
rightMin
;
secondY
.
max
=
scope
.
panel
.
percentage
&&
scope
.
panel
.
stack
?
100
:
scope
.
panel
.
grid
.
rightMax
;
secondY
.
max
=
scope
.
panel
.
percentage
&&
scope
.
panel
.
stack
?
100
:
scope
.
panel
.
grid
.
rightMax
;
...
...
public/app/panels/graph/module.js
View file @
a258e2e6
...
@@ -116,7 +116,7 @@ function (angular, app, $, _, kbn, moment, TimeSeries, PanelMeta) {
...
@@ -116,7 +116,7 @@ function (angular, app, $, _, kbn, moment, TimeSeries, PanelMeta) {
_
.
defaults
(
$scope
.
panel
.
grid
,
_d
.
grid
);
_
.
defaults
(
$scope
.
panel
.
grid
,
_d
.
grid
);
_
.
defaults
(
$scope
.
panel
.
legend
,
_d
.
legend
);
_
.
defaults
(
$scope
.
panel
.
legend
,
_d
.
legend
);
$scope
.
logScales
=
{
'linear'
:
1
,
'log (base 10)'
:
10
,
'log (base 32)'
:
32
,
'log (base 1024)'
:
1024
};
$scope
.
logScales
=
{
'linear'
:
1
,
'log (base
2)'
:
2
,
'log (base
10)'
:
10
,
'log (base 32)'
:
32
,
'log (base 1024)'
:
1024
};
$scope
.
hiddenSeries
=
{};
$scope
.
hiddenSeries
=
{};
$scope
.
seriesList
=
[];
$scope
.
seriesList
=
[];
...
...
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