Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
nomad-FAIR
Commits
65eed34b
Commit
65eed34b
authored
Sep 15, 2020
by
Markus Scheidgen
Browse files
Fixed fixed length of histograms.
parent
5ce5c2c5
Pipeline
#82245
passed with stages
in 24 minutes and 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
gui/src/components/Histogram.js
View file @
65eed34b
...
...
@@ -62,7 +62,7 @@ export default function Histogram({
})
{
onClick
=
onClick
||
(()
=>
null
)
data
=
data
||
[]
numberOfValues
=
(
numberOfValues
&&
Math
.
min
(
data
.
length
,
numberOfValues
))
||
data
.
length
numberOfValues
=
numberOfValues
||
data
.
length
getValueLabel
=
getValueLabel
||
(
value
=>
value
.
name
)
title
=
title
||
'
Histogram
'
...
...
Write
Preview
Supports
Markdown
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