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
7dd66450
Commit
7dd66450
authored
Mar 12, 2018
by
ilgizar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Corrected work for graphs created before this feature.
parent
8c82e570
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
public/app/plugins/panel/graph/graph.ts
+1
-1
public/vendor/flot/jquery.flot.js
+1
-1
No files found.
public/app/plugins/panel/graph/graph.ts
View file @
7dd66450
...
@@ -158,7 +158,7 @@ function graphDirective(timeSrv, popoverSrv, contextSrv) {
...
@@ -158,7 +158,7 @@ function graphDirective(timeSrv, popoverSrv, contextSrv) {
function
processRangeHook
(
plot
)
{
function
processRangeHook
(
plot
)
{
var
yaxis
=
plot
.
getYAxes
();
var
yaxis
=
plot
.
getYAxes
();
if
(
yaxis
.
length
>
1
&&
panel
.
yaxes
[
1
].
align
!==
null
)
{
if
(
yaxis
.
length
>
1
&&
'align'
in
panel
.
yaxes
[
1
]
&&
panel
.
yaxes
[
1
].
align
!==
null
)
{
alignYLevel
(
yaxis
,
parseFloat
(
panel
.
yaxes
[
1
].
align
));
alignYLevel
(
yaxis
,
parseFloat
(
panel
.
yaxes
[
1
].
align
));
}
}
}
}
...
...
public/vendor/flot/jquery.flot.js
View file @
7dd66450
...
@@ -1633,7 +1633,7 @@ Licensed under the MIT license.
...
@@ -1633,7 +1633,7 @@ Licensed under the MIT license.
measureTickLabels
(
axis
);
measureTickLabels
(
axis
);
});
});
if
(
snaped
)
{
if
(
snaped
&&
hooks
.
processRange
.
length
>
0
)
{
executeHooks
(
hooks
.
processRange
,
[]);
executeHooks
(
hooks
.
processRange
,
[]);
snaped
=
false
;
snaped
=
false
;
}
else
{
}
else
{
...
...
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