Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
0f483fa2
Commit
0f483fa2
authored
Aug 09, 2018
by
Mathieu Giraud
Browse files
js/generic_axis.js: more precise rounding
parent
e2a0e07d
Changes
1
Hide whitespace changes
Inline
Side-by-side
browser/js/generic_axis.js
View file @
0f483fa2
...
...
@@ -125,7 +125,7 @@ GenericAxis.prototype = {
var
convert
=
this
.
applyConverter
(
value
);
if
(
typeof
round
!==
'
undefined
'
)
convert
=
nice_ceil
(
convert
,
round
)
convert
=
nice_ceil
(
convert
-
round
/
2
,
round
)
if
(
typeof
convert
==
"
undefined
"
||
convert
==
undefined
||
convert
==
"
undefined
"
)
{
if
(
this
.
can_undefined
)
{
...
...
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