Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Histogram can't take function as binsNumber argument #7457
Passing a function as the binsNumber argument to a histogram chart uses that function to compute the number of bins to show.
The following error is thrown (in Chrome)
Live demo with steps to reproduce
Firefox and chrome
I believe the following code is at fault: https://github.com/highcharts/highcharts/blob/master/js/modules/histogram.src.js#L190-L198