adding color gradient to bars (scaling)