Removed fors to create the bars and solved the problem with the X axis