[search] Added barChart code for handling time data