TypeError: xScale.rangeBand is not a function

@Giovanii_Mirko_Terra Yes, I was able to reproduce the bug. As soon as we get it merged, I will back port it to the 4.1 and 4.2 branches.