Sha256: 929328643dc612ae2c91b6a5e0b8e5eca4d88115ad220eef665f3fa8066cbf3d
Contents?: true
Size: 356 Bytes
Versions: 34
Compression:
Stored size: 356 Bytes
Contents
class TimelinePresenter extends WidgetPresenter data: -> data = super() data.addColumn('datetime', 'Time') dateOffset = @dateOffset() + @get('interval') * 1000 series = @get('series') _.each series.titles, (t) -> data.addColumn('number', t) _.each series.rows, (row) -> row[0] = new Date(row[0] + dateOffset) data.addRow(row) data
Version data entries
34 entries across 34 versions & 3 rubygems