Fix for number of ticks bigger than number of values

This is a fix for x axis repeating values when the available width for the stackedAreaChart is bigger than the number of values in the data array