Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Caillat Michel
yafits
Commits
fcaed7e8
Commit
fcaed7e8
authored
Jan 30, 2020
by
Caillat Michel
Browse files
consider case where kpj is NaN for K value calculation on graph
parent
396be779
Changes
1
Hide whitespace changes
Inline
Side-by-side
yafitsv/views/olqv.ejs
View file @
fcaed7e8
...
...
@@ -1710,7 +1710,11 @@
},
tooltip
:
{
formatter
:
function
()
{
return
'
(
'
+
this
.
x
.
toFixed
(
4
)
+
'
,
'
+
this
.
y
.
toFixed
(
4
)
+
'
),
'
+
Number
(
this
.
y
*
kpj
).
toExponential
(
2
)
+
"
K
"
;
let
label
=
'
(
'
+
this
.
x
.
toFixed
(
4
)
+
'
,
'
+
this
.
y
.
toFixed
(
4
)
+
'
)
'
;
if
(
!
isNaN
(
kpj
)){
label
=
label
+
"
,
"
+
Number
(
this
.
y
*
kpj
).
toExponential
(
2
)
+
"
K
"
;
}
return
label
;
}
},
series
:
[
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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