adding function to color last bar, changing colors
adding chart class