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
33c63805
Commit
33c63805
authored
Aug 09, 2018
by
Mathieu Giraud
Browse files
js/numerical_axis.js: recompute nb_steps here to diplay top histogram line
parent
eb5d0241
Changes
1
Hide whitespace changes
Inline
Side-by-side
browser/js/numerical_axis.js
View file @
33c63805
...
...
@@ -191,6 +191,10 @@ NumericalAxis.prototype = Object.create(GenericAxis.prototype);
display_label
=
true
;
if
(
typeof
has_undefined
==
'
undefined
'
)
has_undefined
=
false
// Re-compute nb_steps (will not change the min/max here, only the label display)
this
.
nb_steps_special
=
has_undefined
?
1
:
0
this
.
nb_steps
=
this
.
nb_steps_normal
+
this
.
nb_steps_special
var
text
,
pos
,
h
;
if
(
use_log
){
...
...
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