update chart panning