                 if val == "bar"
                     @setBarMode()
                 else if val == "table"
+                    @renderTable(series)
                     @setTableMode(series)
-                    @renderTable(series)
 
                 unless val == "table"
                     graph.setRenderer val

                output.push cells
            
            csv = new CSV(output, {
                header : header
                delimiter : dataDelimiter
                # line : escape(String.fromCharCode(0x0D) + String.fromCharCode(0x0A))
            })

            header = [ util.getLocaleString("stats_hit") ]

            for cell in series[0].data
                stampformat = @zoomLevelToFormat(cell.zoom)
                header.push moment(cell.x * 1000).format(stampformat)

            output = [header]

