update ui&add piechart&add scrollview gesture judgement