         pieChart managementChart, managements, managementsGroup, all
 
         dc.dataCount(".dc-data-count").dimension(xfilter).group(all)
-        $scope.columns = ["ward","region"]
         makeDataTable("#dc-data-table", wards)
 
         dc.renderAll()

        (() -> count: 0, total: 0))
      res



    $scope.initTable = () ->
      # needed to fix table alignment if drawn when not visible
      table = $("#dc-data-table").dataTable()
      table.fnAdjustColumnSizing()

    setupCharts = (region) ->
      getData region, (data) ->
