[rt #59532] fix the zero position calculation for horizontal charts