public function actionChartJakarta()
 {
     $searchModel = new MotorSearch();
     $dataProvider = $searchModel->search(Yii::$app->request->queryParams);
     //$dataProvider->pagination->pageSize=10;
     $model = new Motor();
     return $this->render('chartjkt', ['searchModel' => $searchModel, 'dataProvider' => $dataProvider]);
 }
 /**
  * Lists all MotorModel models.
  * @return mixed
  */
 public function actionIndex()
 {
     $searchModel = new MotorSearch();
     $dataProvider = $searchModel->search(Yii::$app->request->queryParams);
     return $this->render('index', ['searchModel' => $searchModel, 'dataProvider' => $dataProvider]);
 }