added color gradients, added bar chart method