Commit 65eed34b authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Fixed fixed length of histograms.

parent 5ce5c2c5
Pipeline #82245 passed with stages
in 24 minutes and 19 seconds
......@@ -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'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment