add a bar chart for total payment