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
3c42fece
Unverified
Commit
3c42fece
authored
Apr 08, 2019
by
Torkel Ödegaard
Committed by
GitHub
Apr 08, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Graph: follow-up graph decimals fix, #16414 (#16450)
parent
67cbc7d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
public/vendor/flot/jquery.flot.js
+1
-2
No files found.
public/vendor/flot/jquery.flot.js
View file @
3c42fece
...
@@ -1763,9 +1763,8 @@ Licensed under the MIT license.
...
@@ -1763,9 +1763,8 @@ Licensed under the MIT license.
axis
.
delta
=
delta
;
axis
.
delta
=
delta
;
axis
.
tickDecimals
=
Math
.
max
(
0
,
maxDec
!=
null
?
maxDec
:
dec
);
axis
.
tickDecimals
=
Math
.
max
(
0
,
maxDec
!=
null
?
maxDec
:
dec
);
axis
.
tickSize
=
opts
.
tickSize
||
size
;
axis
.
tickSize
=
opts
.
tickSize
||
size
;
// grafana addition
// grafana addition
if
(
opts
.
tickDecimals
===
null
&&
opts
.
tickDecimals
===
undefined
)
{
if
(
opts
.
tickDecimals
===
null
||
opts
.
tickDecimals
===
undefined
)
{
axis
.
scaledDecimals
=
axis
.
tickDecimals
-
Math
.
floor
(
Math
.
log
(
axis
.
tickSize
)
/
Math
.
LN10
);
axis
.
scaledDecimals
=
axis
.
tickDecimals
-
Math
.
floor
(
Math
.
log
(
axis
.
tickSize
)
/
Math
.
LN10
);
}
}
...
...
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