Gradient in Bar Graphs and fixed problem with double drawing histogram