fix chart start end bounds