DataView<ChangeType> legendsView = new DataView<ChangeType>("legend", legendDp) {
      private static final long serialVersionUID = 1L;
      @Override
      public void populateItem(final Item<ChangeType> item) {
        ChangeType entry = item.getModelObject();
        Label changeType = new Label("changeType", "");
        WicketUtils.setChangeTypeCssClass(changeType, entry);
        item.add(changeType);
        int count = stats.get(entry).intValue();