fixed bar coloring doesn't match legend coloring