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
e7a30ac4
Commit
e7a30ac4
authored
Nov 16, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(units): fixed issue with data rate bit units, fixes #6602
parent
4fa995ea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
public/app/core/utils/kbn.js
+3
-3
No files found.
public/app/core/utils/kbn.js
View file @
e7a30ac4
...
...
@@ -420,11 +420,11 @@ function($, _, moment) {
kbn
.
valueFormats
.
bps
=
kbn
.
formatBuilders
.
decimalSIPrefix
(
'bps'
);
kbn
.
valueFormats
.
Bps
=
kbn
.
formatBuilders
.
decimalSIPrefix
(
'Bps'
);
kbn
.
valueFormats
.
KBs
=
kbn
.
formatBuilders
.
decimalSIPrefix
(
'Bs'
,
1
);
kbn
.
valueFormats
.
Kbits
=
kbn
.
formatBuilders
.
decimalSIPrefix
(
'b
it
s'
,
1
);
kbn
.
valueFormats
.
Kbits
=
kbn
.
formatBuilders
.
decimalSIPrefix
(
'b
p
s'
,
1
);
kbn
.
valueFormats
.
MBs
=
kbn
.
formatBuilders
.
decimalSIPrefix
(
'Bs'
,
2
);
kbn
.
valueFormats
.
Mbits
=
kbn
.
formatBuilders
.
decimalSIPrefix
(
'b
it
s'
,
2
);
kbn
.
valueFormats
.
Mbits
=
kbn
.
formatBuilders
.
decimalSIPrefix
(
'b
p
s'
,
2
);
kbn
.
valueFormats
.
GBs
=
kbn
.
formatBuilders
.
decimalSIPrefix
(
'Bs'
,
3
);
kbn
.
valueFormats
.
Gbits
=
kbn
.
formatBuilders
.
decimalSIPrefix
(
'b
it
s'
,
3
);
kbn
.
valueFormats
.
Gbits
=
kbn
.
formatBuilders
.
decimalSIPrefix
(
'b
p
s'
,
3
);
// Throughput
kbn
.
valueFormats
.
ops
=
kbn
.
formatBuilders
.
simpleCountUnit
(
'ops'
);
...
...
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