Bar Graph works as expected now