Custom class for generating histogram (Bar Graph) in your ios app