added table view and line chart