Sha256: ec9e77837efa9a9dae4dc4927d9bb7b23da56d2fccd433e327c310d0c562e867

Contents?: true

Size: 289 Bytes

Versions: 10

Compression:

Stored size: 289 Bytes

Contents

json.labels @tasks_by_week.keys.map { |year, week| Date.commercial(year, week, 1).strftime('Week: %d/%m') }
json.datasets [{
  label: 'Created tasks',
  data: @tasks_by_week.values,
  borderWidth: 1,
  borderColor: 'rgba(255, 99, 132, 1)',
  backgroundColor: 'rgba(255, 99, 132, 0.2)',
}]

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rails_execution-0.1.12 app/views/rails_execution/dashboards/insights.json.jbuilder
rails_execution-0.1.11 app/views/rails_execution/dashboards/insights.json.jbuilder
rails_execution-0.1.10 app/views/rails_execution/dashboards/insights.json.jbuilder
rails_execution-0.1.9 app/views/rails_execution/dashboards/insights.json.jbuilder
rails_execution-0.1.8 app/views/rails_execution/dashboards/insights.json.jbuilder
rails_execution-0.1.7 app/views/rails_execution/dashboards/insights.json.jbuilder
rails_execution-0.1.5 app/views/rails_execution/dashboards/insights.json.jbuilder
rails_execution-0.1.4 app/views/rails_execution/dashboards/insights.json.jbuilder
rails_execution-0.1.2 app/views/rails_execution/dashboards/insights.json.jbuilder
rails_execution-0.1.1 app/views/rails_execution/dashboards/insights.json.jbuilder