Trying to optimize imports
Bughunting:

Color of the legend lineitem was not changing during a color set. This was because the reference line item used for the legend was not getting the new color...