Chart crashed when drawing more 5 lines

We now loop on colors and symbols array instead of defaulting on null values