Fixing x-axis chart bug.