fix measure scales connecting on chart and assist scale algorithm