@Override
  public void showFilteredResult(
      List<WorkflowStateSummary> filteredlist, EngineLoadFilterModel usedFilter) {

    WorkflowStateSummary copperLoadInfo = filteredlist.get(0);
    Date date = new Date();
    // new SimpleDateFormat("HH:mm:ss").format(new Date());

    for (Entry<WorkflowInstanceState, Integer> entry :
        copperLoadInfo.getNumberOfWorkflowInstancesWithState().entrySet()) {
      Series<Number, Number> axis = stateToAxis.get(entry.getKey());
      ObservableList<Data<Number, Number>> data = axis.getData();
      data.add(new XYChart.Data<Number, Number>(date.getTime(), entry.getValue()));
      if (data.size() > MAX_DATA_POINTS) {
        data.remove(0);
      }

      if (usedFilter.stateFilters.get(entry.getKey()).getValue()) {
        if (!areaChart.getData().contains(axis)) {
          areaChart.getData().add(axis);
        }
      } else {
        areaChart.getData().remove(axis);
      }
    }

    ComponentUtil.setupXAxis((NumberAxis) areaChart.getXAxis(), areaChart.getData());
  }