Fixed implementation of legend items/timeline charts color setting