@Override
 public void updateChart(DateTime dateStart, int period) {
   //		Map<String, List<Integer>> data=model.getChartDataDummy(period);
   Map<String, List<Integer>> data = model.getChartData(dateStart, period);
   if (data == null) {
     view.setEmptyDataView();
   } else {
     view.generateChart(data);
   }
 }
 public FarmationGoodsWithIncreasingTrendPresenter(
     GeneralFunction function,
     FarmationGoodsWithIncreasingTrendViewImpl view,
     FarmationGoodsWithIncreasingTrendModel model) {
   this.model = model;
   this.function = function;
   this.view = view;
   this.dateMan = function.getDate();
   view.init(model.getCurrentMonth());
   view.setListener(this);
   buttonSubmit();
 }