add line chart to motion stat page
finish data parsing