I was having trouble getting the minBarLength to work. After looking online for a solution I found #6212. In there Everybody was using the minBarLength in the scales options. I tried it out and this works, but in the documentation it shows the property being used in the dataset object