added trend-by-colour feature