Im trying to make a stacked bar chart that will break and restart below after a point. So its like filling rows in a box, go over 8 units then start next row. Stacked will show diffrent types of items.

I want to make I continious stacked bar chat but it will just be more readable.