added possibility to color by selected metric