1👍
✅
Value of display property is going to determined the behaviour of your element. By default the value is set to inline. In chart JS when you set the display value to false it equals like displaying it to none. I would also manipulate with canvas height and width as that can have an effect of grouping your elements. As you have provided snippet of HTML and CSS it is hard to exactly determined your layout problem. I hope this helps.
Source:stackexchange.com