bugfix: loop through colors if less colors than bars

without this fix, a bar-chart having more bars than colors does only show colors.length bars, the rest of the bars are invisible. Using this approach, the remaining bars start to reuse already used colors.