add line chart in index page, init version