reports_kits 0.7.5 → 0.7.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +6 -0
  3. data/.rubocop.yml +85 -0
  4. data/.travis.yml +21 -0
  5. data/Appraisals +27 -0
  6. data/Gemfile +3 -0
  7. data/MIT-LICENSE +20 -0
  8. data/README.md +35 -0
  9. data/Rakefile +2 -0
  10. data/app/assets/javascripts/reports_kits/application.js +14 -0
  11. data/app/assets/javascripts/reports_kits/lib/_init.js +9 -0
  12. data/app/assets/javascripts/reports_kits/lib/chart.js +73 -0
  13. data/app/assets/javascripts/reports_kits/lib/report.js +135 -0
  14. data/app/assets/javascripts/reports_kits/lib/table.js +87 -0
  15. data/app/assets/javascripts/reports_kits/vendor/chart.js +12269 -0
  16. data/app/assets/javascripts/reports_kits/vendor/daterangepicker.js +1627 -0
  17. data/app/assets/javascripts/reports_kits/vendor/jquery.tablesorter.min.js +4 -0
  18. data/app/assets/javascripts/reports_kits/vendor/moment.js +4040 -0
  19. data/app/assets/javascripts/reports_kits/vendor/select2.full.js +6436 -0
  20. data/app/assets/stylesheets/reports_kits/application.css.scss +3 -0
  21. data/app/assets/stylesheets/reports_kits/reports.css.sass +33 -0
  22. data/app/assets/stylesheets/reports_kits/select2_overrides.css.sass +7 -0
  23. data/app/assets/stylesheets/reports_kits/vendor/daterangepicker.css +269 -0
  24. data/app/assets/stylesheets/reports_kits/vendor/select2-bootstrap.css +721 -0
  25. data/app/assets/stylesheets/reports_kits/vendor/select2.css +484 -0
  26. data/config/initializers/mime_types.rb +1 -0
  27. data/config/routes.rb +10 -0
  28. data/docs/images/demo.gif +0 -0
  29. data/docs/images/users_by_created_at.png +0 -0
  30. data/gemfiles/mysql.gemfile +7 -0
  31. data/gemfiles/mysql.gemfile.lock +167 -0
  32. data/gemfiles/postgresql.gemfile +7 -0
  33. data/gemfiles/postgresql.gemfile.lock +165 -0
  34. data/gemfiles/postgresql_rails_5.1.4.gemfile +8 -0
  35. data/gemfiles/postgresql_rails_5.1.4.gemfile.lock +168 -0
  36. data/gemfiles/rails_4_mysql.gemfile +8 -0
  37. data/gemfiles/rails_4_mysql.gemfile.lock +165 -0
  38. data/gemfiles/rails_4_postgresql.gemfile +8 -0
  39. data/gemfiles/rails_4_postgresql.gemfile.lock +163 -0
  40. data/gemfiles/rails_5.1.4_postgresql.gemfile +8 -0
  41. data/gemfiles/rails_5.1.4_postgresql.gemfile.lock +169 -0
  42. data/gemfiles/rails_5_mysql.gemfile +8 -0
  43. data/gemfiles/rails_5_mysql.gemfile.lock +171 -0
  44. data/gemfiles/rails_5_postgresql.gemfile +8 -0
  45. data/gemfiles/rails_5_postgresql.gemfile.lock +169 -0
  46. data/lib/reports_kits/base_controller.rb +17 -0
  47. data/lib/reports_kits/cache.rb +37 -0
  48. data/lib/reports_kits/configuration.rb +50 -0
  49. data/lib/reports_kits/engine.rb +21 -0
  50. data/lib/reports_kits/entity.rb +3 -0
  51. data/lib/reports_kits/filters_controller.rb +11 -0
  52. data/lib/reports_kits/form_builder.rb +66 -0
  53. data/lib/reports_kits/helper.rb +24 -0
  54. data/lib/reports_kits/model.rb +16 -0
  55. data/lib/reports_kits/model_configuration.rb +28 -0
  56. data/lib/reports_kits/normalized_params.rb +16 -0
  57. data/lib/reports_kits/order.rb +33 -0
  58. data/lib/reports_kits/relative_time.rb +42 -0
  59. data/lib/reports_kits/report_builder.rb +88 -0
  60. data/lib/reports_kits/reports/abstract_series.rb +9 -0
  61. data/lib/reports_kits/reports/adapters/mysql.rb +26 -0
  62. data/lib/reports_kits/reports/adapters/postgresql.rb +26 -0
  63. data/lib/reports_kits/reports/composite_series.rb +48 -0
  64. data/lib/reports_kits/reports/contextual_filter.rb +19 -0
  65. data/lib/reports_kits/reports/data/add_table_aggregations.rb +105 -0
  66. data/lib/reports_kits/reports/data/aggregate_composite.rb +97 -0
  67. data/lib/reports_kits/reports/data/aggregate_one_dimension.rb +39 -0
  68. data/lib/reports_kits/reports/data/aggregate_two_dimensions.rb +39 -0
  69. data/lib/reports_kits/reports/data/chart_data_for_data_method.rb +62 -0
  70. data/lib/reports_kits/reports/data/chart_options.rb +155 -0
  71. data/lib/reports_kits/reports/data/format_one_dimension.rb +140 -0
  72. data/lib/reports_kits/reports/data/format_table.rb +63 -0
  73. data/lib/reports_kits/reports/data/format_two_dimensions.rb +143 -0
  74. data/lib/reports_kits/reports/data/generate.rb +156 -0
  75. data/lib/reports_kits/reports/data/generate_for_properties.rb +97 -0
  76. data/lib/reports_kits/reports/data/normalize_properties.rb +62 -0
  77. data/lib/reports_kits/reports/data/populate_one_dimension.rb +54 -0
  78. data/lib/reports_kits/reports/data/populate_two_dimensions.rb +104 -0
  79. data/lib/reports_kits/reports/data/utils.rb +178 -0
  80. data/lib/reports_kits/reports/dimension.rb +27 -0
  81. data/lib/reports_kits/reports/dimension_with_series.rb +144 -0
  82. data/lib/reports_kits/reports/filter.rb +29 -0
  83. data/lib/reports_kits/reports/filter_types/base.rb +48 -0
  84. data/lib/reports_kits/reports/filter_types/boolean.rb +47 -0
  85. data/lib/reports_kits/reports/filter_types/datetime.rb +51 -0
  86. data/lib/reports_kits/reports/filter_types/number.rb +30 -0
  87. data/lib/reports_kits/reports/filter_types/records.rb +26 -0
  88. data/lib/reports_kits/reports/filter_types/string.rb +38 -0
  89. data/lib/reports_kits/reports/filter_with_series.rb +97 -0
  90. data/lib/reports_kits/reports/generate_autocomplete_method_results.rb +29 -0
  91. data/lib/reports_kits/reports/generate_autocomplete_results.rb +57 -0
  92. data/lib/reports_kits/reports/inferrable_configuration.rb +116 -0
  93. data/lib/reports_kits/reports/model_settings.rb +30 -0
  94. data/lib/reports_kits/reports/properties.rb +10 -0
  95. data/lib/reports_kits/reports/properties_to_filter.rb +40 -0
  96. data/lib/reports_kits/reports/series.rb +121 -0
  97. data/lib/reports_kits/reports_controller.rb +65 -0
  98. data/lib/reports_kits/utils.rb +11 -0
  99. data/lib/reports_kits/value.rb +3 -0
  100. data/lib/reports_kits/version.rb +3 -0
  101. data/lib/reports_kits.rb +79 -0
  102. data/reports_kits.gemspec +26 -0
  103. data/spec/factories/issue_factory.rb +4 -0
  104. data/spec/factories/issues_label_factory.rb +4 -0
  105. data/spec/factories/label_factory.rb +4 -0
  106. data/spec/factories/pro_repo_factory.rb +5 -0
  107. data/spec/factories/repo_factory.rb +5 -0
  108. data/spec/factories/tag_factory.rb +4 -0
  109. data/spec/fixtures/generate_inputs.yml +254 -0
  110. data/spec/fixtures/generate_outputs.yml +1216 -0
  111. data/spec/reports_kit/form_builder_spec.rb +26 -0
  112. data/spec/reports_kit/relative_time_spec.rb +29 -0
  113. data/spec/reports_kit/reports/data/generate/contextual_filters_spec.rb +60 -0
  114. data/spec/reports_kit/reports/data/generate_spec.rb +1371 -0
  115. data/spec/reports_kit/reports/data/normalize_properties_spec.rb +196 -0
  116. data/spec/reports_kit/reports/dimension_with_series_spec.rb +67 -0
  117. data/spec/reports_kit/reports/filter_with_series_spec.rb +39 -0
  118. data/spec/reports_kit/reports/generate_autocomplete_results_spec.rb +69 -0
  119. data/spec/spec_helper.rb +77 -0
  120. data/spec/support/config.rb +41 -0
  121. data/spec/support/example_data_methods.rb +25 -0
  122. data/spec/support/factory_girl.rb +5 -0
  123. data/spec/support/helpers.rb +25 -0
  124. data/spec/support/models/issue.rb +14 -0
  125. data/spec/support/models/issues_label.rb +4 -0
  126. data/spec/support/models/label.rb +5 -0
  127. data/spec/support/models/pro/repo.rb +5 -0
  128. data/spec/support/models/pro/special_issue.rb +4 -0
  129. data/spec/support/models/repo.rb +13 -0
  130. data/spec/support/models/tag.rb +4 -0
  131. data/spec/support/schema.rb +39 -0
  132. metadata +134 -4
@@ -0,0 +1,1216 @@
1
+ ---
2
+ - :chart_data:
3
+ :labels:
4
+ - foo/bar1
5
+ :datasets:
6
+ - :label: Issues
7
+ :data:
8
+ - 2
9
+ :backgroundColor: "#1f77b4"
10
+ :borderColor: "#1f77b4"
11
+ :options:
12
+ :scales:
13
+ :xAxes:
14
+ - :gridLines:
15
+ :display: false
16
+ :barPercentage: 0.9
17
+ :categoryPercentage: 0.9
18
+ :scaleLabel:
19
+ :display: true
20
+ :labelString: Repo
21
+ :yAxes:
22
+ - :ticks:
23
+ :beginAtZero: true
24
+ :scaleLabel:
25
+ :display: true
26
+ :labelString: Issues
27
+ :legend:
28
+ :labels:
29
+ :usePointStyle: true
30
+ :maintainAspectRatio: false
31
+ :tooltips:
32
+ :xPadding: 8
33
+ :yPadding: 7
34
+ :type: bar
35
+ - :chart_data:
36
+ :labels:
37
+ - foo/bar1
38
+ :datasets:
39
+ - :label: Issues
40
+ :data:
41
+ - 2
42
+ :backgroundColor: "#1f77b4"
43
+ :borderColor: "#1f77b4"
44
+ :options:
45
+ :scales:
46
+ :xAxes:
47
+ - :gridLines:
48
+ :display: false
49
+ :barPercentage: 0.9
50
+ :categoryPercentage: 0.9
51
+ :scaleLabel:
52
+ :display: true
53
+ :labelString: Repo
54
+ :yAxes:
55
+ - :ticks:
56
+ :beginAtZero: true
57
+ :scaleLabel:
58
+ :display: true
59
+ :labelString: Issues
60
+ :legend:
61
+ :labels:
62
+ :usePointStyle: true
63
+ :maintainAspectRatio: false
64
+ :tooltips:
65
+ :xPadding: 8
66
+ :yPadding: 7
67
+ :foo: bar
68
+ :type: bar
69
+ - :chart_data:
70
+ :labels:
71
+ - foo/bar1
72
+ :datasets:
73
+ - :label: Issues
74
+ :data:
75
+ - 2
76
+ :backgroundColor: "#1f77b4"
77
+ :borderColor: "#1f77b4"
78
+ :options:
79
+ :scales:
80
+ :xAxes:
81
+ - :gridLines:
82
+ :display: false
83
+ :barPercentage: 0.9
84
+ :categoryPercentage: 0.9
85
+ :scaleLabel:
86
+ :display: true
87
+ :labelString: Repo
88
+ :yAxes:
89
+ - :ticks:
90
+ :beginAtZero: true
91
+ :scaleLabel:
92
+ :display: true
93
+ :labelString: Issues
94
+ :legend:
95
+ :labels:
96
+ :usePointStyle: true
97
+ :maintainAspectRatio: false
98
+ :tooltips:
99
+ :xPadding: 8
100
+ :yPadding: 7
101
+ :type: bar
102
+ - :chart_data:
103
+ :labels:
104
+ - foo/bar1
105
+ :datasets:
106
+ - :label: Issues
107
+ :data:
108
+ - 2
109
+ :backgroundColor:
110
+ - "#1f77b4"
111
+ - "#aec7e8"
112
+ - "#ff7f0e"
113
+ - "#ffbb78"
114
+ - "#2ca02c"
115
+ - "#98df8a"
116
+ - "#d62728"
117
+ - "#ff9896"
118
+ - "#9467bd"
119
+ - "#c5b0d5"
120
+ - "#8c564b"
121
+ - "#c49c94"
122
+ - "#e377c2"
123
+ - "#f7b6d2"
124
+ - "#7f7f7f"
125
+ - "#c7c7c7"
126
+ - "#bcbd22"
127
+ - "#dbdb8d"
128
+ - "#17becf"
129
+ - "#9edae5"
130
+ :options: {}
131
+ :type: pie
132
+ - :chart_data:
133
+ :labels:
134
+ - foo/bar1
135
+ :datasets:
136
+ - :label: Issues
137
+ :data:
138
+ - 2
139
+ :backgroundColor: "#1f77b4"
140
+ :borderColor: "#1f77b4"
141
+ :options:
142
+ :scales:
143
+ :xAxes:
144
+ - :gridLines:
145
+ :display: false
146
+ :barPercentage: 0.9
147
+ :categoryPercentage: 0.9
148
+ :scaleLabel:
149
+ :display: true
150
+ :labelString: Repo
151
+ :yAxes:
152
+ - :ticks:
153
+ :beginAtZero: true
154
+ :scaleLabel:
155
+ :display: true
156
+ :labelString: Issues
157
+ :legend:
158
+ :labels:
159
+ :usePointStyle: true
160
+ :maintainAspectRatio: false
161
+ :tooltips:
162
+ :xPadding: 8
163
+ :yPadding: 7
164
+ :type: bar
165
+ - :chart_data:
166
+ :labels:
167
+ - Dec 13, '09
168
+ - Dec 20, '09
169
+ - Dec 27, '09
170
+ :datasets:
171
+ - :label: Issues
172
+ :data:
173
+ - 1
174
+ - 0
175
+ - 1
176
+ :backgroundColor: "#1f77b4"
177
+ :borderColor: "#1f77b4"
178
+ :options:
179
+ :scales:
180
+ :xAxes:
181
+ - :gridLines:
182
+ :display: false
183
+ :barPercentage: 0.9
184
+ :categoryPercentage: 0.9
185
+ :scaleLabel:
186
+ :display: true
187
+ :labelString: Opened At
188
+ :yAxes:
189
+ - :ticks:
190
+ :beginAtZero: true
191
+ :scaleLabel:
192
+ :display: true
193
+ :labelString: Issues
194
+ :legend:
195
+ :labels:
196
+ :usePointStyle: true
197
+ :maintainAspectRatio: false
198
+ :tooltips:
199
+ :xPadding: 8
200
+ :yPadding: 7
201
+ :type: bar
202
+ - :chart_data:
203
+ :labels:
204
+ - Dec 13, '09
205
+ - Dec 20, '09
206
+ - Dec 27, '09
207
+ :datasets:
208
+ - :label: foo/bar1
209
+ :data:
210
+ - 1
211
+ - 0
212
+ - 1
213
+ :backgroundColor: "#1f77b4"
214
+ :borderColor: "#1f77b4"
215
+ :options:
216
+ :scales:
217
+ :xAxes:
218
+ - :gridLines:
219
+ :display: false
220
+ :barPercentage: 0.9
221
+ :categoryPercentage: 0.9
222
+ :scaleLabel:
223
+ :display: true
224
+ :labelString: Opened At
225
+ :yAxes:
226
+ - :ticks:
227
+ :beginAtZero: true
228
+ :scaleLabel:
229
+ :display: true
230
+ :labelString: Issues
231
+ :legend:
232
+ :labels:
233
+ :usePointStyle: true
234
+ :maintainAspectRatio: false
235
+ :tooltips:
236
+ :xPadding: 8
237
+ :yPadding: 7
238
+ :type: bar
239
+ - :chart_data:
240
+ :labels:
241
+ - foo/bar1
242
+ :datasets:
243
+ - :label: Issues
244
+ :data:
245
+ - 2
246
+ :backgroundColor: "#1f77b4"
247
+ :borderColor: "#1f77b4"
248
+ :options:
249
+ :scales:
250
+ :xAxes:
251
+ - :gridLines:
252
+ :display: false
253
+ :barPercentage: 0.9
254
+ :categoryPercentage: 0.9
255
+ :scaleLabel:
256
+ :display: true
257
+ :labelString: Repo
258
+ :yAxes:
259
+ - :ticks:
260
+ :beginAtZero: true
261
+ :scaleLabel:
262
+ :display: true
263
+ :labelString: Issues
264
+ :legend:
265
+ :labels:
266
+ :usePointStyle: true
267
+ :maintainAspectRatio: false
268
+ :tooltips:
269
+ :xPadding: 8
270
+ :yPadding: 7
271
+ :type: bar
272
+ - :chart_data:
273
+ :labels:
274
+ - foo/bar1
275
+ - foo/bar2
276
+ :datasets:
277
+ - :label: Issues
278
+ :data:
279
+ - 2
280
+ - 0
281
+ :backgroundColor: "#1f77b4"
282
+ :borderColor: "#1f77b4"
283
+ - :label: Labels
284
+ :data:
285
+ - 1
286
+ - 2
287
+ :backgroundColor: "#aec7e8"
288
+ :borderColor: "#aec7e8"
289
+ :options:
290
+ :scales:
291
+ :xAxes:
292
+ - :gridLines:
293
+ :display: false
294
+ :barPercentage: 0.9
295
+ :categoryPercentage: 0.9
296
+ :scaleLabel:
297
+ :display: true
298
+ :labelString: Repo
299
+ :yAxes:
300
+ - :ticks:
301
+ :beginAtZero: true
302
+ :legend:
303
+ :labels:
304
+ :usePointStyle: true
305
+ :maintainAspectRatio: false
306
+ :tooltips:
307
+ :xPadding: 8
308
+ :yPadding: 7
309
+ :type: bar
310
+ - :chart_data:
311
+ :labels:
312
+ - foo/bar1
313
+ - foo/bar2
314
+ :datasets:
315
+ - :label: Issues
316
+ :data:
317
+ - 2
318
+ - 0
319
+ :backgroundColor: "#1f77b4"
320
+ :borderColor: "#1f77b4"
321
+ - :label: Labels
322
+ :data:
323
+ - 1
324
+ - 2
325
+ :backgroundColor: "#aec7e8"
326
+ :borderColor: "#aec7e8"
327
+ - :label: Tags
328
+ :data:
329
+ - 0
330
+ - 0
331
+ :backgroundColor: "#ff7f0e"
332
+ :borderColor: "#ff7f0e"
333
+ :options:
334
+ :scales:
335
+ :xAxes:
336
+ - :gridLines:
337
+ :display: false
338
+ :barPercentage: 0.9
339
+ :categoryPercentage: 0.9
340
+ :scaleLabel:
341
+ :display: true
342
+ :labelString: Repo
343
+ :yAxes:
344
+ - :ticks:
345
+ :beginAtZero: true
346
+ :legend:
347
+ :labels:
348
+ :usePointStyle: true
349
+ :maintainAspectRatio: false
350
+ :tooltips:
351
+ :xPadding: 8
352
+ :yPadding: 7
353
+ :type: bar
354
+ - :chart_data:
355
+ :labels:
356
+ - foo/bar1
357
+ - foo/bar2
358
+ :datasets:
359
+ - :label: Repo Issues
360
+ :data:
361
+ - 2
362
+ - 0
363
+ :backgroundColor: "#1f77b4"
364
+ :borderColor: "#1f77b4"
365
+ - :label: Labels
366
+ :data:
367
+ - 1
368
+ - 2
369
+ :backgroundColor: "#aec7e8"
370
+ :borderColor: "#aec7e8"
371
+ :options:
372
+ :scales:
373
+ :xAxes:
374
+ - :gridLines:
375
+ :display: false
376
+ :barPercentage: 0.9
377
+ :categoryPercentage: 0.9
378
+ :scaleLabel:
379
+ :display: true
380
+ :labelString: Repo
381
+ :yAxes:
382
+ - :ticks:
383
+ :beginAtZero: true
384
+ :legend:
385
+ :labels:
386
+ :usePointStyle: true
387
+ :maintainAspectRatio: false
388
+ :tooltips:
389
+ :xPadding: 8
390
+ :yPadding: 7
391
+ :type: bar
392
+ - :type: table
393
+ :table_data:
394
+ - -
395
+ - Repo Issues
396
+ - Labels
397
+ - - foo/bar1
398
+ - 2
399
+ - 1
400
+ - - foo/bar2
401
+ - 0
402
+ - 2
403
+ - :type: table
404
+ :report_options:
405
+ :aggregations:
406
+ - :from: columns
407
+ :operator: sum
408
+ :label: Total
409
+ :table_data:
410
+ - -
411
+ - Repo Issues
412
+ - Labels
413
+ - - foo/bar1
414
+ - 2
415
+ - 1
416
+ - - foo/bar2
417
+ - 0
418
+ - 2
419
+ - - Total
420
+ - 2
421
+ - 3
422
+ - :type: table
423
+ :report_options:
424
+ :aggregations:
425
+ - :from: rows
426
+ :operator: sum
427
+ :label: Total
428
+ :foot_rows_count: 1
429
+ :table_data:
430
+ - -
431
+ - Repo Issues
432
+ - Labels
433
+ - Total
434
+ - - foo/bar1
435
+ - 2
436
+ - 1
437
+ - 3
438
+ - - foo/bar2
439
+ - 0
440
+ - 2
441
+ - 2
442
+ - :type: table
443
+ :report_options:
444
+ :aggregations:
445
+ - :from: columns
446
+ :operator: sum
447
+ :label: Total
448
+ - :from: rows
449
+ :operator: sum
450
+ :label: Total
451
+ :foot_rows_count: 1
452
+ :table_data:
453
+ - -
454
+ - Repo Issues
455
+ - Labels
456
+ - Total
457
+ - - foo/bar1
458
+ - 2
459
+ - 1
460
+ - 3
461
+ - - foo/bar2
462
+ - 0
463
+ - 2
464
+ - 2
465
+ - - Total
466
+ - 2
467
+ - 3
468
+ - 5
469
+ - :type: table
470
+ :report_options:
471
+ :head_rows_count: 2
472
+ :table_data:
473
+ - -
474
+ - Repo Issues
475
+ - Labels
476
+ - - foo/bar1
477
+ - 2
478
+ - 1
479
+ - - foo/bar2
480
+ - 0
481
+ - 2
482
+ - :type: table
483
+ :report_options:
484
+ :foot_rows_count: 3
485
+ :table_data:
486
+ - -
487
+ - Repo Issues
488
+ - Labels
489
+ - - foo/bar1
490
+ - 2
491
+ - 1
492
+ - - foo/bar2
493
+ - 0
494
+ - 2
495
+ - :chart_data:
496
+ :labels:
497
+ - foo/bar1
498
+ - foo/bar2
499
+ :datasets:
500
+ - :label: Labels
501
+ :data:
502
+ - 1
503
+ - 2
504
+ :backgroundColor: "#1f77b4"
505
+ :borderColor: "#1f77b4"
506
+ :options:
507
+ :scales:
508
+ :xAxes:
509
+ - :gridLines:
510
+ :display: false
511
+ :barPercentage: 0.9
512
+ :categoryPercentage: 0.9
513
+ :scaleLabel:
514
+ :display: true
515
+ :labelString: Repo
516
+ :yAxes:
517
+ - :ticks:
518
+ :beginAtZero: true
519
+ :scaleLabel:
520
+ :display: true
521
+ :labelString: Labels
522
+ :legend:
523
+ :labels:
524
+ :usePointStyle: true
525
+ :maintainAspectRatio: false
526
+ :tooltips:
527
+ :xPadding: 8
528
+ :yPadding: 7
529
+ :type: bar
530
+ - :chart_data:
531
+ :labels:
532
+ - foo/bar2
533
+ - foo/bar1
534
+ :datasets:
535
+ - :label: Labels
536
+ :data:
537
+ - 2
538
+ - 1
539
+ :backgroundColor: "#1f77b4"
540
+ :borderColor: "#1f77b4"
541
+ :options:
542
+ :scales:
543
+ :xAxes:
544
+ - :gridLines:
545
+ :display: false
546
+ :barPercentage: 0.9
547
+ :categoryPercentage: 0.9
548
+ :scaleLabel:
549
+ :display: true
550
+ :labelString: Repo
551
+ :yAxes:
552
+ - :ticks:
553
+ :beginAtZero: true
554
+ :scaleLabel:
555
+ :display: true
556
+ :labelString: Labels
557
+ :legend:
558
+ :labels:
559
+ :usePointStyle: true
560
+ :maintainAspectRatio: false
561
+ :tooltips:
562
+ :xPadding: 8
563
+ :yPadding: 7
564
+ :type: bar
565
+ - :chart_data:
566
+ :labels:
567
+ - foo/bar1
568
+ - foo/bar2
569
+ :datasets:
570
+ - :label: Labels
571
+ :data:
572
+ - 1
573
+ - 2
574
+ :backgroundColor: "#1f77b4"
575
+ :borderColor: "#1f77b4"
576
+ :options:
577
+ :scales:
578
+ :xAxes:
579
+ - :gridLines:
580
+ :display: false
581
+ :barPercentage: 0.9
582
+ :categoryPercentage: 0.9
583
+ :scaleLabel:
584
+ :display: true
585
+ :labelString: Repo
586
+ :yAxes:
587
+ - :ticks:
588
+ :beginAtZero: true
589
+ :scaleLabel:
590
+ :display: true
591
+ :labelString: Labels
592
+ :legend:
593
+ :labels:
594
+ :usePointStyle: true
595
+ :maintainAspectRatio: false
596
+ :tooltips:
597
+ :xPadding: 8
598
+ :yPadding: 7
599
+ :type: bar
600
+ - :chart_data:
601
+ :labels:
602
+ - foo/bar2
603
+ - foo/bar1
604
+ :datasets:
605
+ - :label: Labels
606
+ :data:
607
+ - 2
608
+ - 1
609
+ :backgroundColor: "#1f77b4"
610
+ :borderColor: "#1f77b4"
611
+ :options:
612
+ :scales:
613
+ :xAxes:
614
+ - :gridLines:
615
+ :display: false
616
+ :barPercentage: 0.9
617
+ :categoryPercentage: 0.9
618
+ :scaleLabel:
619
+ :display: true
620
+ :labelString: Repo
621
+ :yAxes:
622
+ - :ticks:
623
+ :beginAtZero: true
624
+ :scaleLabel:
625
+ :display: true
626
+ :labelString: Labels
627
+ :legend:
628
+ :labels:
629
+ :usePointStyle: true
630
+ :maintainAspectRatio: false
631
+ :tooltips:
632
+ :xPadding: 8
633
+ :yPadding: 7
634
+ :type: bar
635
+ - :chart_data:
636
+ :labels:
637
+ - Dec 13, '09
638
+ - Dec 20, '09
639
+ - Dec 27, '09
640
+ :datasets:
641
+ - :label: Issues
642
+ :data:
643
+ - 1
644
+ - 0
645
+ - 1
646
+ :backgroundColor: "#1f77b4"
647
+ :borderColor: "#1f77b4"
648
+ :options:
649
+ :scales:
650
+ :xAxes:
651
+ - :gridLines:
652
+ :display: false
653
+ :barPercentage: 0.9
654
+ :categoryPercentage: 0.9
655
+ :scaleLabel:
656
+ :display: true
657
+ :labelString: Opened At
658
+ :yAxes:
659
+ - :ticks:
660
+ :beginAtZero: true
661
+ :scaleLabel:
662
+ :display: true
663
+ :labelString: Issues
664
+ :legend:
665
+ :labels:
666
+ :usePointStyle: true
667
+ :maintainAspectRatio: false
668
+ :tooltips:
669
+ :xPadding: 8
670
+ :yPadding: 7
671
+ :type: bar
672
+ - :chart_data:
673
+ :labels:
674
+ - Dec 27, '09
675
+ - Dec 20, '09
676
+ - Dec 13, '09
677
+ :datasets:
678
+ - :label: Issues
679
+ :data:
680
+ - 1
681
+ - 0
682
+ - 1
683
+ :backgroundColor: "#1f77b4"
684
+ :borderColor: "#1f77b4"
685
+ :options:
686
+ :scales:
687
+ :xAxes:
688
+ - :gridLines:
689
+ :display: false
690
+ :barPercentage: 0.9
691
+ :categoryPercentage: 0.9
692
+ :scaleLabel:
693
+ :display: true
694
+ :labelString: Opened At
695
+ :yAxes:
696
+ - :ticks:
697
+ :beginAtZero: true
698
+ :scaleLabel:
699
+ :display: true
700
+ :labelString: Issues
701
+ :legend:
702
+ :labels:
703
+ :usePointStyle: true
704
+ :maintainAspectRatio: false
705
+ :tooltips:
706
+ :xPadding: 8
707
+ :yPadding: 7
708
+ :type: bar
709
+ - :chart_data:
710
+ :labels:
711
+ - foo/bar1
712
+ - foo/bar2
713
+ :datasets:
714
+ - :label: Labels
715
+ :data:
716
+ - 1
717
+ - 2
718
+ :backgroundColor: "#1f77b4"
719
+ :borderColor: "#1f77b4"
720
+ :options:
721
+ :scales:
722
+ :xAxes:
723
+ - :gridLines:
724
+ :display: false
725
+ :barPercentage: 0.9
726
+ :categoryPercentage: 0.9
727
+ :scaleLabel:
728
+ :display: true
729
+ :labelString: Repo
730
+ :yAxes:
731
+ - :ticks:
732
+ :beginAtZero: true
733
+ :scaleLabel:
734
+ :display: true
735
+ :labelString: Labels
736
+ :legend:
737
+ :labels:
738
+ :usePointStyle: true
739
+ :maintainAspectRatio: false
740
+ :tooltips:
741
+ :xPadding: 8
742
+ :yPadding: 7
743
+ :type: bar
744
+ - :chart_data:
745
+ :labels:
746
+ - foo/bar2
747
+ - foo/bar1
748
+ :datasets:
749
+ - :label: Labels
750
+ :data:
751
+ - 2
752
+ - 1
753
+ :backgroundColor: "#1f77b4"
754
+ :borderColor: "#1f77b4"
755
+ :options:
756
+ :scales:
757
+ :xAxes:
758
+ - :gridLines:
759
+ :display: false
760
+ :barPercentage: 0.9
761
+ :categoryPercentage: 0.9
762
+ :scaleLabel:
763
+ :display: true
764
+ :labelString: Repo
765
+ :yAxes:
766
+ - :ticks:
767
+ :beginAtZero: true
768
+ :scaleLabel:
769
+ :display: true
770
+ :labelString: Labels
771
+ :legend:
772
+ :labels:
773
+ :usePointStyle: true
774
+ :maintainAspectRatio: false
775
+ :tooltips:
776
+ :xPadding: 8
777
+ :yPadding: 7
778
+ :type: bar
779
+ - :chart_data:
780
+ :labels:
781
+ - foo/bar1
782
+ - foo/bar2
783
+ :datasets:
784
+ - :label: Labels
785
+ :data:
786
+ - 1
787
+ - 2
788
+ :backgroundColor: "#1f77b4"
789
+ :borderColor: "#1f77b4"
790
+ :options:
791
+ :scales:
792
+ :xAxes:
793
+ - :gridLines:
794
+ :display: false
795
+ :barPercentage: 0.9
796
+ :categoryPercentage: 0.9
797
+ :scaleLabel:
798
+ :display: true
799
+ :labelString: Repo
800
+ :yAxes:
801
+ - :ticks:
802
+ :beginAtZero: true
803
+ :scaleLabel:
804
+ :display: true
805
+ :labelString: Labels
806
+ :legend:
807
+ :labels:
808
+ :usePointStyle: true
809
+ :maintainAspectRatio: false
810
+ :tooltips:
811
+ :xPadding: 8
812
+ :yPadding: 7
813
+ :type: bar
814
+ - :chart_data:
815
+ :labels:
816
+ - foo/bar2
817
+ - foo/bar1
818
+ :datasets:
819
+ - :label: Labels
820
+ :data:
821
+ - 2
822
+ - 1
823
+ :backgroundColor: "#1f77b4"
824
+ :borderColor: "#1f77b4"
825
+ :options:
826
+ :scales:
827
+ :xAxes:
828
+ - :gridLines:
829
+ :display: false
830
+ :barPercentage: 0.9
831
+ :categoryPercentage: 0.9
832
+ :scaleLabel:
833
+ :display: true
834
+ :labelString: Repo
835
+ :yAxes:
836
+ - :ticks:
837
+ :beginAtZero: true
838
+ :scaleLabel:
839
+ :display: true
840
+ :labelString: Labels
841
+ :legend:
842
+ :labels:
843
+ :usePointStyle: true
844
+ :maintainAspectRatio: false
845
+ :tooltips:
846
+ :xPadding: 8
847
+ :yPadding: 7
848
+ :type: bar
849
+ - :chart_data:
850
+ :labels:
851
+ - Dec 13, '09
852
+ - Dec 20, '09
853
+ - Dec 27, '09
854
+ :datasets:
855
+ - :label: foo/bar1
856
+ :data:
857
+ - 1
858
+ - 0
859
+ - 1
860
+ :backgroundColor: "#1f77b4"
861
+ :borderColor: "#1f77b4"
862
+ :options:
863
+ :scales:
864
+ :xAxes:
865
+ - :gridLines:
866
+ :display: false
867
+ :barPercentage: 0.9
868
+ :categoryPercentage: 0.9
869
+ :scaleLabel:
870
+ :display: true
871
+ :labelString: Opened At
872
+ :yAxes:
873
+ - :ticks:
874
+ :beginAtZero: true
875
+ :scaleLabel:
876
+ :display: true
877
+ :labelString: Issues
878
+ :legend:
879
+ :labels:
880
+ :usePointStyle: true
881
+ :maintainAspectRatio: false
882
+ :tooltips:
883
+ :xPadding: 8
884
+ :yPadding: 7
885
+ :type: bar
886
+ - :chart_data:
887
+ :labels:
888
+ - Dec 27, '09
889
+ - Dec 20, '09
890
+ - Dec 13, '09
891
+ :datasets:
892
+ - :label: foo/bar1
893
+ :data:
894
+ - 1
895
+ - 0
896
+ - 1
897
+ :backgroundColor: "#1f77b4"
898
+ :borderColor: "#1f77b4"
899
+ :options:
900
+ :scales:
901
+ :xAxes:
902
+ - :gridLines:
903
+ :display: false
904
+ :barPercentage: 0.9
905
+ :categoryPercentage: 0.9
906
+ :scaleLabel:
907
+ :display: true
908
+ :labelString: Opened At
909
+ :yAxes:
910
+ - :ticks:
911
+ :beginAtZero: true
912
+ :scaleLabel:
913
+ :display: true
914
+ :labelString: Issues
915
+ :legend:
916
+ :labels:
917
+ :usePointStyle: true
918
+ :maintainAspectRatio: false
919
+ :tooltips:
920
+ :xPadding: 8
921
+ :yPadding: 7
922
+ :type: bar
923
+ - :chart_data:
924
+ :labels:
925
+ - foo/bar1
926
+ - foo/bar2
927
+ :datasets:
928
+ - :label: Dec 27, '09
929
+ :data:
930
+ - 1
931
+ - 2
932
+ :backgroundColor: "#1f77b4"
933
+ :borderColor: "#1f77b4"
934
+ :options:
935
+ :scales:
936
+ :xAxes:
937
+ - :gridLines:
938
+ :display: false
939
+ :barPercentage: 0.9
940
+ :categoryPercentage: 0.9
941
+ :scaleLabel:
942
+ :display: true
943
+ :labelString: Repo
944
+ :yAxes:
945
+ - :ticks:
946
+ :beginAtZero: true
947
+ :scaleLabel:
948
+ :display: true
949
+ :labelString: Labels
950
+ :legend:
951
+ :labels:
952
+ :usePointStyle: true
953
+ :maintainAspectRatio: false
954
+ :tooltips:
955
+ :xPadding: 8
956
+ :yPadding: 7
957
+ :type: bar
958
+ - :chart_data:
959
+ :labels:
960
+ - foo/bar2
961
+ - foo/bar1
962
+ :datasets:
963
+ - :label: Dec 27, '09
964
+ :data:
965
+ - 2
966
+ - 1
967
+ :backgroundColor: "#1f77b4"
968
+ :borderColor: "#1f77b4"
969
+ :options:
970
+ :scales:
971
+ :xAxes:
972
+ - :gridLines:
973
+ :display: false
974
+ :barPercentage: 0.9
975
+ :categoryPercentage: 0.9
976
+ :scaleLabel:
977
+ :display: true
978
+ :labelString: Repo
979
+ :yAxes:
980
+ - :ticks:
981
+ :beginAtZero: true
982
+ :scaleLabel:
983
+ :display: true
984
+ :labelString: Labels
985
+ :legend:
986
+ :labels:
987
+ :usePointStyle: true
988
+ :maintainAspectRatio: false
989
+ :tooltips:
990
+ :xPadding: 8
991
+ :yPadding: 7
992
+ :type: bar
993
+ - :chart_data:
994
+ :labels:
995
+ - Dec 20, '09
996
+ - Dec 13, '09
997
+ - Dec 27, '09
998
+ :datasets:
999
+ - :label: foo/bar1
1000
+ :data:
1001
+ - 0
1002
+ - 1
1003
+ - 1
1004
+ :backgroundColor: "#1f77b4"
1005
+ :borderColor: "#1f77b4"
1006
+ :options:
1007
+ :scales:
1008
+ :xAxes:
1009
+ - :gridLines:
1010
+ :display: false
1011
+ :barPercentage: 0.9
1012
+ :categoryPercentage: 0.9
1013
+ :scaleLabel:
1014
+ :display: true
1015
+ :labelString: Opened At
1016
+ :yAxes:
1017
+ - :ticks:
1018
+ :beginAtZero: true
1019
+ :scaleLabel:
1020
+ :display: true
1021
+ :labelString: Issues
1022
+ :legend:
1023
+ :labels:
1024
+ :usePointStyle: true
1025
+ :maintainAspectRatio: false
1026
+ :tooltips:
1027
+ :xPadding: 8
1028
+ :yPadding: 7
1029
+ :type: bar
1030
+ - :chart_data:
1031
+ :labels:
1032
+ - Dec 27, '09
1033
+ - Dec 13, '09
1034
+ - Dec 20, '09
1035
+ :datasets:
1036
+ - :label: foo/bar1
1037
+ :data:
1038
+ - 1
1039
+ - 1
1040
+ - 0
1041
+ :backgroundColor: "#1f77b4"
1042
+ :borderColor: "#1f77b4"
1043
+ :options:
1044
+ :scales:
1045
+ :xAxes:
1046
+ - :gridLines:
1047
+ :display: false
1048
+ :barPercentage: 0.9
1049
+ :categoryPercentage: 0.9
1050
+ :scaleLabel:
1051
+ :display: true
1052
+ :labelString: Opened At
1053
+ :yAxes:
1054
+ - :ticks:
1055
+ :beginAtZero: true
1056
+ :scaleLabel:
1057
+ :display: true
1058
+ :labelString: Issues
1059
+ :legend:
1060
+ :labels:
1061
+ :usePointStyle: true
1062
+ :maintainAspectRatio: false
1063
+ :tooltips:
1064
+ :xPadding: 8
1065
+ :yPadding: 7
1066
+ :type: bar
1067
+ - :chart_data:
1068
+ :labels:
1069
+ - Dec 13, '09
1070
+ - Dec 20, '09
1071
+ - Dec 27, '09
1072
+ :datasets:
1073
+ - :data:
1074
+ - 1
1075
+ - 0
1076
+ - 1
1077
+ :backgroundColor: "#1f77b4"
1078
+ :borderColor: "#1f77b4"
1079
+ :options:
1080
+ :scales:
1081
+ :xAxes:
1082
+ - :gridLines:
1083
+ :display: false
1084
+ :barPercentage: 0.9
1085
+ :categoryPercentage: 0.9
1086
+ :yAxes:
1087
+ - :ticks:
1088
+ :beginAtZero: true
1089
+ :legend:
1090
+ :labels:
1091
+ :usePointStyle: true
1092
+ :maintainAspectRatio: false
1093
+ :tooltips:
1094
+ :xPadding: 8
1095
+ :yPadding: 7
1096
+ :type: bar
1097
+ - :chart_data:
1098
+ :labels:
1099
+ - Dec 13, '09
1100
+ - Dec 20, '09
1101
+ - Dec 27, '09
1102
+ :datasets:
1103
+ - :label: foo/bar1
1104
+ :data:
1105
+ - 1
1106
+ - 0
1107
+ - 1
1108
+ :backgroundColor: "#1f77b4"
1109
+ :borderColor: "#1f77b4"
1110
+ :options:
1111
+ :scales:
1112
+ :xAxes:
1113
+ - :gridLines:
1114
+ :display: false
1115
+ :barPercentage: 0.9
1116
+ :categoryPercentage: 0.9
1117
+ :yAxes:
1118
+ - :ticks:
1119
+ :beginAtZero: true
1120
+ :legend:
1121
+ :labels:
1122
+ :usePointStyle: true
1123
+ :maintainAspectRatio: false
1124
+ :tooltips:
1125
+ :xPadding: 8
1126
+ :yPadding: 7
1127
+ :type: bar
1128
+ - :chart_data:
1129
+ :labels:
1130
+ - Dec 13, '09
1131
+ - Dec 20, '09
1132
+ - Dec 27, '09
1133
+ :datasets:
1134
+ - :data:
1135
+ - 1
1136
+ - 0
1137
+ - 1
1138
+ :backgroundColor: "#1f77b4"
1139
+ :borderColor: "#1f77b4"
1140
+ :options:
1141
+ :scales:
1142
+ :xAxes:
1143
+ - :gridLines:
1144
+ :display: false
1145
+ :barPercentage: 0.9
1146
+ :categoryPercentage: 0.9
1147
+ :yAxes:
1148
+ - :ticks:
1149
+ :beginAtZero: true
1150
+ :legend:
1151
+ :labels:
1152
+ :usePointStyle: true
1153
+ :maintainAspectRatio: false
1154
+ :tooltips:
1155
+ :xPadding: 8
1156
+ :yPadding: 7
1157
+ :type: bar
1158
+ - :chart_data:
1159
+ :labels:
1160
+ - Dec 13, '09
1161
+ :datasets:
1162
+ - :data:
1163
+ - 1
1164
+ :backgroundColor: "#1f77b4"
1165
+ :borderColor: "#1f77b4"
1166
+ :options:
1167
+ :scales:
1168
+ :xAxes:
1169
+ - :gridLines:
1170
+ :display: false
1171
+ :barPercentage: 0.9
1172
+ :categoryPercentage: 0.9
1173
+ :yAxes:
1174
+ - :ticks:
1175
+ :beginAtZero: true
1176
+ :legend:
1177
+ :labels:
1178
+ :usePointStyle: true
1179
+ :maintainAspectRatio: false
1180
+ :tooltips:
1181
+ :xPadding: 8
1182
+ :yPadding: 7
1183
+ :type: bar
1184
+ - :chart_data:
1185
+ :labels:
1186
+ - Date
1187
+ - Dec 13, '09
1188
+ :datasets:
1189
+ - :data:
1190
+ - Issue count
1191
+ - 1
1192
+ :backgroundColor: "#1f77b4"
1193
+ :borderColor: "#1f77b4"
1194
+ :options:
1195
+ :scales:
1196
+ :xAxes:
1197
+ - :gridLines:
1198
+ :display: false
1199
+ :barPercentage: 0.9
1200
+ :categoryPercentage: 0.9
1201
+ :yAxes:
1202
+ - :ticks:
1203
+ :beginAtZero: true
1204
+ :legend:
1205
+ :labels:
1206
+ :usePointStyle: true
1207
+ :maintainAspectRatio: false
1208
+ :tooltips:
1209
+ :xPadding: 8
1210
+ :yPadding: 7
1211
+ :type: table
1212
+ :table_data:
1213
+ - - Date
1214
+ - Issue count
1215
+ - - Dec 13, '09
1216
+ - 1