fix function to generate graphicbar
display of bills