 drawChart = (ct=chartType)->
   return if ct == 'options'
   for title, specs of evoData.charts[ct] || {}
-    rows = specs.rows # trimData specs.rows
+    rows = trimData specs.rows, 2000
     return unless rows.length && rows[0].length
     id     = specs.id
     chart  = specs.chart

    options =
      title: titlize decamelize(title)
      width: width
      explorer: axis: 'horizontal'
      height: height
      hAxis:
        title: htitle
        viewWindow:
          min: Math.max 1, rows.length - 500
          max: rows.length
      vAxis:
        title: vtitle

  else
    u.run()
    element.innerHTML = 'stop'
trimData = (data, size) ->
  return data if data.length < size
  results = []
  results.push data[i] for i in [data.length - size...data.length]
  results
clearCharts = ->
  resetNum = evoData.resetNum++
