reports_kit 0.1.0 → 0.2.0

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 (66) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -5
  3. data/app/assets/javascripts/reports_kit/lib/chart.js +33 -8
  4. data/app/assets/javascripts/reports_kit/lib/report.js +27 -26
  5. data/app/assets/javascripts/reports_kit/lib/table.js +58 -0
  6. data/app/assets/javascripts/reports_kit/vendor/jquery.tablesorter.min.js +4 -0
  7. data/app/assets/stylesheets/reports_kit/reports.css.sass +20 -0
  8. data/config/initializers/mime_types.rb +1 -0
  9. data/docs/dimensions.md +34 -26
  10. data/docs/display_options.md +15 -12
  11. data/docs/filters.md +2 -2
  12. data/docs/measures.md +4 -3
  13. data/gemfiles/mysql.gemfile.lock +14 -1
  14. data/gemfiles/postgresql.gemfile.lock +14 -1
  15. data/lib/reports_kit.rb +15 -0
  16. data/lib/reports_kit/cache.rb +37 -0
  17. data/lib/reports_kit/configuration.rb +13 -1
  18. data/lib/reports_kit/helper.rb +54 -3
  19. data/lib/reports_kit/model_configuration.rb +6 -1
  20. data/lib/reports_kit/order.rb +33 -0
  21. data/lib/reports_kit/relative_time.rb +42 -0
  22. data/lib/reports_kit/report_builder.rb +34 -15
  23. data/lib/reports_kit/reports/abstract_measure.rb +9 -0
  24. data/lib/reports_kit/reports/adapters/mysql.rb +8 -1
  25. data/lib/reports_kit/reports/adapters/postgresql.rb +8 -1
  26. data/lib/reports_kit/reports/composite_measure.rb +43 -0
  27. data/lib/reports_kit/reports/data/chart_options.rb +5 -0
  28. data/lib/reports_kit/reports/data/composite_aggregation.rb +96 -0
  29. data/lib/reports_kit/reports/data/entity.rb +7 -0
  30. data/lib/reports_kit/reports/data/format_one_dimension.rb +120 -0
  31. data/lib/reports_kit/reports/data/format_two_dimensions.rb +141 -0
  32. data/lib/reports_kit/reports/data/generate.rb +72 -25
  33. data/lib/reports_kit/reports/data/generate_for_properties.rb +75 -0
  34. data/lib/reports_kit/reports/data/one_dimension.rb +15 -49
  35. data/lib/reports_kit/reports/data/populate_one_dimension.rb +36 -0
  36. data/lib/reports_kit/reports/data/populate_two_dimensions.rb +104 -0
  37. data/lib/reports_kit/reports/data/two_dimensions.rb +15 -110
  38. data/lib/reports_kit/reports/data/utils.rb +77 -12
  39. data/lib/reports_kit/reports/data/value.rb +7 -0
  40. data/lib/reports_kit/reports/dimension.rb +4 -110
  41. data/lib/reports_kit/reports/dimension_with_measure.rb +137 -0
  42. data/lib/reports_kit/reports/filter.rb +5 -64
  43. data/lib/reports_kit/reports/filter_types/base.rb +1 -1
  44. data/lib/reports_kit/reports/filter_types/boolean.rb +9 -7
  45. data/lib/reports_kit/reports/filter_types/datetime.rb +7 -5
  46. data/lib/reports_kit/reports/filter_types/number.rb +2 -0
  47. data/lib/reports_kit/reports/filter_with_measure.rb +84 -0
  48. data/lib/reports_kit/reports/generate_autocomplete_results.rb +1 -1
  49. data/lib/reports_kit/reports/inferrable_configuration.rb +32 -13
  50. data/lib/reports_kit/reports/measure.rb +48 -12
  51. data/lib/reports_kit/reports_controller.rb +42 -3
  52. data/lib/reports_kit/version.rb +1 -1
  53. data/reports_kit.gemspec +2 -0
  54. data/spec/fixtures/generate_inputs.yml +146 -21
  55. data/spec/fixtures/generate_outputs.yml +768 -17
  56. data/spec/reports_kit/relative_time_spec.rb +29 -0
  57. data/spec/reports_kit/report_builder_spec.rb +28 -0
  58. data/spec/reports_kit/reports/data/generate_spec.rb +614 -27
  59. data/spec/reports_kit/reports/dimension_with_measure_spec.rb +69 -0
  60. data/spec/reports_kit/reports/{filter_spec.rb → filter_with_measure_spec.rb} +4 -3
  61. data/spec/spec_helper.rb +7 -2
  62. data/spec/support/config.rb +11 -0
  63. data/spec/support/helpers.rb +3 -3
  64. data/spec/support/models/issue.rb +7 -0
  65. metadata +53 -4
  66. data/spec/reports_kit/reports/dimension_spec.rb +0 -54
@@ -1,9 +1,11 @@
1
1
  ---
2
2
  - :chart_data:
3
- :labels: []
3
+ :labels:
4
+ - foo/bar1
4
5
  :datasets:
5
6
  - :label: Issues
6
- :data: []
7
+ :data:
8
+ - 2
7
9
  :backgroundColor: "#1f77b4"
8
10
  :borderColor: "#1f77b4"
9
11
  :options:
@@ -31,10 +33,12 @@
31
33
  :yPadding: 7
32
34
  :type: bar
33
35
  - :chart_data:
34
- :labels: []
36
+ :labels:
37
+ - foo/bar1
35
38
  :datasets:
36
39
  - :label: Issues
37
- :data: []
40
+ :data:
41
+ - 2
38
42
  :backgroundColor: "#1f77b4"
39
43
  :borderColor: "#1f77b4"
40
44
  :options:
@@ -63,10 +67,12 @@
63
67
  :foo: bar
64
68
  :type: bar
65
69
  - :chart_data:
66
- :labels: []
70
+ :labels:
71
+ - foo/bar1
67
72
  :datasets:
68
73
  - :label: Issues
69
- :data: []
74
+ :data:
75
+ - 2
70
76
  :backgroundColor: "#1f77b4"
71
77
  :borderColor: "#1f77b4"
72
78
  :options:
@@ -94,18 +100,42 @@
94
100
  :yPadding: 7
95
101
  :type: bar
96
102
  - :chart_data:
97
- :labels: []
103
+ :labels:
104
+ - foo/bar1
98
105
  :datasets:
99
106
  - :label: Issues
100
- :data: []
101
- :backgroundColor: []
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"
102
130
  :options: {}
103
131
  :type: pie
104
132
  - :chart_data:
105
- :labels: []
133
+ :labels:
134
+ - foo/bar1
106
135
  :datasets:
107
136
  - :label: Issues
108
- :data: []
137
+ :data:
138
+ - 2
109
139
  :backgroundColor: "#1f77b4"
110
140
  :borderColor: "#1f77b4"
111
141
  :options:
@@ -133,10 +163,16 @@
133
163
  :yPadding: 7
134
164
  :type: bar
135
165
  - :chart_data:
136
- :labels: []
166
+ :labels:
167
+ - Dec 13, '09
168
+ - Dec 20, '09
169
+ - Dec 27, '09
137
170
  :datasets:
138
171
  - :label: Issues
139
- :data: []
172
+ :data:
173
+ - 1
174
+ - 0
175
+ - 1
140
176
  :backgroundColor: "#1f77b4"
141
177
  :borderColor: "#1f77b4"
142
178
  :options:
@@ -164,8 +200,18 @@
164
200
  :yPadding: 7
165
201
  :type: bar
166
202
  - :chart_data:
167
- :labels: []
168
- :datasets: []
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"
169
215
  :options:
170
216
  :scales:
171
217
  :xAxes:
@@ -191,10 +237,283 @@
191
237
  :yPadding: 7
192
238
  :type: bar
193
239
  - :chart_data:
194
- :labels: []
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
195
276
  :datasets:
196
277
  - :label: Issues
197
- :data: []
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
+ - :chart_data:
404
+ :labels:
405
+ - foo/bar1
406
+ - foo/bar2
407
+ :datasets:
408
+ - :label: Labels
409
+ :data:
410
+ - 1
411
+ - 2
412
+ :backgroundColor: "#1f77b4"
413
+ :borderColor: "#1f77b4"
414
+ :options:
415
+ :scales:
416
+ :xAxes:
417
+ - :gridLines:
418
+ :display: false
419
+ :barPercentage: 0.9
420
+ :categoryPercentage: 0.9
421
+ :scaleLabel:
422
+ :display: true
423
+ :labelString: Repo
424
+ :yAxes:
425
+ - :ticks:
426
+ :beginAtZero: true
427
+ :scaleLabel:
428
+ :display: true
429
+ :labelString: Labels
430
+ :legend:
431
+ :labels:
432
+ :usePointStyle: true
433
+ :maintainAspectRatio: false
434
+ :tooltips:
435
+ :xPadding: 8
436
+ :yPadding: 7
437
+ :type: bar
438
+ - :chart_data:
439
+ :labels:
440
+ - foo/bar2
441
+ - foo/bar1
442
+ :datasets:
443
+ - :label: Labels
444
+ :data:
445
+ - 2
446
+ - 1
447
+ :backgroundColor: "#1f77b4"
448
+ :borderColor: "#1f77b4"
449
+ :options:
450
+ :scales:
451
+ :xAxes:
452
+ - :gridLines:
453
+ :display: false
454
+ :barPercentage: 0.9
455
+ :categoryPercentage: 0.9
456
+ :scaleLabel:
457
+ :display: true
458
+ :labelString: Repo
459
+ :yAxes:
460
+ - :ticks:
461
+ :beginAtZero: true
462
+ :scaleLabel:
463
+ :display: true
464
+ :labelString: Labels
465
+ :legend:
466
+ :labels:
467
+ :usePointStyle: true
468
+ :maintainAspectRatio: false
469
+ :tooltips:
470
+ :xPadding: 8
471
+ :yPadding: 7
472
+ :type: bar
473
+ - :chart_data:
474
+ :labels:
475
+ - foo/bar1
476
+ - foo/bar2
477
+ :datasets:
478
+ - :label: Labels
479
+ :data:
480
+ - 1
481
+ - 2
482
+ :backgroundColor: "#1f77b4"
483
+ :borderColor: "#1f77b4"
484
+ :options:
485
+ :scales:
486
+ :xAxes:
487
+ - :gridLines:
488
+ :display: false
489
+ :barPercentage: 0.9
490
+ :categoryPercentage: 0.9
491
+ :scaleLabel:
492
+ :display: true
493
+ :labelString: Repo
494
+ :yAxes:
495
+ - :ticks:
496
+ :beginAtZero: true
497
+ :scaleLabel:
498
+ :display: true
499
+ :labelString: Labels
500
+ :legend:
501
+ :labels:
502
+ :usePointStyle: true
503
+ :maintainAspectRatio: false
504
+ :tooltips:
505
+ :xPadding: 8
506
+ :yPadding: 7
507
+ :type: bar
508
+ - :chart_data:
509
+ :labels:
510
+ - foo/bar2
511
+ - foo/bar1
512
+ :datasets:
513
+ - :label: Labels
514
+ :data:
515
+ - 2
516
+ - 1
198
517
  :backgroundColor: "#1f77b4"
199
518
  :borderColor: "#1f77b4"
200
519
  :options:
@@ -208,6 +527,438 @@
208
527
  :display: true
209
528
  :labelString: Repo
210
529
  :yAxes:
530
+ - :ticks:
531
+ :beginAtZero: true
532
+ :scaleLabel:
533
+ :display: true
534
+ :labelString: Labels
535
+ :legend:
536
+ :labels:
537
+ :usePointStyle: true
538
+ :maintainAspectRatio: false
539
+ :tooltips:
540
+ :xPadding: 8
541
+ :yPadding: 7
542
+ :type: bar
543
+ - :chart_data:
544
+ :labels:
545
+ - Dec 13, '09
546
+ - Dec 20, '09
547
+ - Dec 27, '09
548
+ :datasets:
549
+ - :label: Issues
550
+ :data:
551
+ - 1
552
+ - 0
553
+ - 1
554
+ :backgroundColor: "#1f77b4"
555
+ :borderColor: "#1f77b4"
556
+ :options:
557
+ :scales:
558
+ :xAxes:
559
+ - :gridLines:
560
+ :display: false
561
+ :barPercentage: 0.9
562
+ :categoryPercentage: 0.9
563
+ :scaleLabel:
564
+ :display: true
565
+ :labelString: Opened At
566
+ :yAxes:
567
+ - :ticks:
568
+ :beginAtZero: true
569
+ :scaleLabel:
570
+ :display: true
571
+ :labelString: Issues
572
+ :legend:
573
+ :labels:
574
+ :usePointStyle: true
575
+ :maintainAspectRatio: false
576
+ :tooltips:
577
+ :xPadding: 8
578
+ :yPadding: 7
579
+ :type: bar
580
+ - :chart_data:
581
+ :labels:
582
+ - Dec 27, '09
583
+ - Dec 20, '09
584
+ - Dec 13, '09
585
+ :datasets:
586
+ - :label: Issues
587
+ :data:
588
+ - 1
589
+ - 0
590
+ - 1
591
+ :backgroundColor: "#1f77b4"
592
+ :borderColor: "#1f77b4"
593
+ :options:
594
+ :scales:
595
+ :xAxes:
596
+ - :gridLines:
597
+ :display: false
598
+ :barPercentage: 0.9
599
+ :categoryPercentage: 0.9
600
+ :scaleLabel:
601
+ :display: true
602
+ :labelString: Opened At
603
+ :yAxes:
604
+ - :ticks:
605
+ :beginAtZero: true
606
+ :scaleLabel:
607
+ :display: true
608
+ :labelString: Issues
609
+ :legend:
610
+ :labels:
611
+ :usePointStyle: true
612
+ :maintainAspectRatio: false
613
+ :tooltips:
614
+ :xPadding: 8
615
+ :yPadding: 7
616
+ :type: bar
617
+ - :chart_data:
618
+ :labels:
619
+ - foo/bar1
620
+ - foo/bar2
621
+ :datasets:
622
+ - :label: Labels
623
+ :data:
624
+ - 1
625
+ - 2
626
+ :backgroundColor: "#1f77b4"
627
+ :borderColor: "#1f77b4"
628
+ :options:
629
+ :scales:
630
+ :xAxes:
631
+ - :gridLines:
632
+ :display: false
633
+ :barPercentage: 0.9
634
+ :categoryPercentage: 0.9
635
+ :scaleLabel:
636
+ :display: true
637
+ :labelString: Repo
638
+ :yAxes:
639
+ - :ticks:
640
+ :beginAtZero: true
641
+ :scaleLabel:
642
+ :display: true
643
+ :labelString: Labels
644
+ :legend:
645
+ :labels:
646
+ :usePointStyle: true
647
+ :maintainAspectRatio: false
648
+ :tooltips:
649
+ :xPadding: 8
650
+ :yPadding: 7
651
+ :type: bar
652
+ - :chart_data:
653
+ :labels:
654
+ - foo/bar2
655
+ - foo/bar1
656
+ :datasets:
657
+ - :label: Labels
658
+ :data:
659
+ - 2
660
+ - 1
661
+ :backgroundColor: "#1f77b4"
662
+ :borderColor: "#1f77b4"
663
+ :options:
664
+ :scales:
665
+ :xAxes:
666
+ - :gridLines:
667
+ :display: false
668
+ :barPercentage: 0.9
669
+ :categoryPercentage: 0.9
670
+ :scaleLabel:
671
+ :display: true
672
+ :labelString: Repo
673
+ :yAxes:
674
+ - :ticks:
675
+ :beginAtZero: true
676
+ :scaleLabel:
677
+ :display: true
678
+ :labelString: Labels
679
+ :legend:
680
+ :labels:
681
+ :usePointStyle: true
682
+ :maintainAspectRatio: false
683
+ :tooltips:
684
+ :xPadding: 8
685
+ :yPadding: 7
686
+ :type: bar
687
+ - :chart_data:
688
+ :labels:
689
+ - foo/bar1
690
+ - foo/bar2
691
+ :datasets:
692
+ - :label: Labels
693
+ :data:
694
+ - 1
695
+ - 2
696
+ :backgroundColor: "#1f77b4"
697
+ :borderColor: "#1f77b4"
698
+ :options:
699
+ :scales:
700
+ :xAxes:
701
+ - :gridLines:
702
+ :display: false
703
+ :barPercentage: 0.9
704
+ :categoryPercentage: 0.9
705
+ :scaleLabel:
706
+ :display: true
707
+ :labelString: Repo
708
+ :yAxes:
709
+ - :ticks:
710
+ :beginAtZero: true
711
+ :scaleLabel:
712
+ :display: true
713
+ :labelString: Labels
714
+ :legend:
715
+ :labels:
716
+ :usePointStyle: true
717
+ :maintainAspectRatio: false
718
+ :tooltips:
719
+ :xPadding: 8
720
+ :yPadding: 7
721
+ :type: bar
722
+ - :chart_data:
723
+ :labels:
724
+ - foo/bar2
725
+ - foo/bar1
726
+ :datasets:
727
+ - :label: Labels
728
+ :data:
729
+ - 2
730
+ - 1
731
+ :backgroundColor: "#1f77b4"
732
+ :borderColor: "#1f77b4"
733
+ :options:
734
+ :scales:
735
+ :xAxes:
736
+ - :gridLines:
737
+ :display: false
738
+ :barPercentage: 0.9
739
+ :categoryPercentage: 0.9
740
+ :scaleLabel:
741
+ :display: true
742
+ :labelString: Repo
743
+ :yAxes:
744
+ - :ticks:
745
+ :beginAtZero: true
746
+ :scaleLabel:
747
+ :display: true
748
+ :labelString: Labels
749
+ :legend:
750
+ :labels:
751
+ :usePointStyle: true
752
+ :maintainAspectRatio: false
753
+ :tooltips:
754
+ :xPadding: 8
755
+ :yPadding: 7
756
+ :type: bar
757
+ - :chart_data:
758
+ :labels:
759
+ - Dec 13, '09
760
+ - Dec 20, '09
761
+ - Dec 27, '09
762
+ :datasets:
763
+ - :label: foo/bar1
764
+ :data:
765
+ - 1
766
+ - 0
767
+ - 1
768
+ :backgroundColor: "#1f77b4"
769
+ :borderColor: "#1f77b4"
770
+ :options:
771
+ :scales:
772
+ :xAxes:
773
+ - :gridLines:
774
+ :display: false
775
+ :barPercentage: 0.9
776
+ :categoryPercentage: 0.9
777
+ :scaleLabel:
778
+ :display: true
779
+ :labelString: Opened At
780
+ :yAxes:
781
+ - :ticks:
782
+ :beginAtZero: true
783
+ :scaleLabel:
784
+ :display: true
785
+ :labelString: Issues
786
+ :legend:
787
+ :labels:
788
+ :usePointStyle: true
789
+ :maintainAspectRatio: false
790
+ :tooltips:
791
+ :xPadding: 8
792
+ :yPadding: 7
793
+ :type: bar
794
+ - :chart_data:
795
+ :labels:
796
+ - Dec 27, '09
797
+ - Dec 20, '09
798
+ - Dec 13, '09
799
+ :datasets:
800
+ - :label: foo/bar1
801
+ :data:
802
+ - 1
803
+ - 0
804
+ - 1
805
+ :backgroundColor: "#1f77b4"
806
+ :borderColor: "#1f77b4"
807
+ :options:
808
+ :scales:
809
+ :xAxes:
810
+ - :gridLines:
811
+ :display: false
812
+ :barPercentage: 0.9
813
+ :categoryPercentage: 0.9
814
+ :scaleLabel:
815
+ :display: true
816
+ :labelString: Opened At
817
+ :yAxes:
818
+ - :ticks:
819
+ :beginAtZero: true
820
+ :scaleLabel:
821
+ :display: true
822
+ :labelString: Issues
823
+ :legend:
824
+ :labels:
825
+ :usePointStyle: true
826
+ :maintainAspectRatio: false
827
+ :tooltips:
828
+ :xPadding: 8
829
+ :yPadding: 7
830
+ :type: bar
831
+ - :chart_data:
832
+ :labels:
833
+ - foo/bar1
834
+ - foo/bar2
835
+ :datasets:
836
+ - :label: Dec 27, '09
837
+ :data:
838
+ - 1
839
+ - 2
840
+ :backgroundColor: "#1f77b4"
841
+ :borderColor: "#1f77b4"
842
+ :options:
843
+ :scales:
844
+ :xAxes:
845
+ - :gridLines:
846
+ :display: false
847
+ :barPercentage: 0.9
848
+ :categoryPercentage: 0.9
849
+ :scaleLabel:
850
+ :display: true
851
+ :labelString: Repo
852
+ :yAxes:
853
+ - :ticks:
854
+ :beginAtZero: true
855
+ :scaleLabel:
856
+ :display: true
857
+ :labelString: Labels
858
+ :legend:
859
+ :labels:
860
+ :usePointStyle: true
861
+ :maintainAspectRatio: false
862
+ :tooltips:
863
+ :xPadding: 8
864
+ :yPadding: 7
865
+ :type: bar
866
+ - :chart_data:
867
+ :labels:
868
+ - foo/bar2
869
+ - foo/bar1
870
+ :datasets:
871
+ - :label: Dec 27, '09
872
+ :data:
873
+ - 2
874
+ - 1
875
+ :backgroundColor: "#1f77b4"
876
+ :borderColor: "#1f77b4"
877
+ :options:
878
+ :scales:
879
+ :xAxes:
880
+ - :gridLines:
881
+ :display: false
882
+ :barPercentage: 0.9
883
+ :categoryPercentage: 0.9
884
+ :scaleLabel:
885
+ :display: true
886
+ :labelString: Repo
887
+ :yAxes:
888
+ - :ticks:
889
+ :beginAtZero: true
890
+ :scaleLabel:
891
+ :display: true
892
+ :labelString: Labels
893
+ :legend:
894
+ :labels:
895
+ :usePointStyle: true
896
+ :maintainAspectRatio: false
897
+ :tooltips:
898
+ :xPadding: 8
899
+ :yPadding: 7
900
+ :type: bar
901
+ - :chart_data:
902
+ :labels:
903
+ - Dec 20, '09
904
+ - Dec 13, '09
905
+ - Dec 27, '09
906
+ :datasets:
907
+ - :label: foo/bar1
908
+ :data:
909
+ - 0
910
+ - 1
911
+ - 1
912
+ :backgroundColor: "#1f77b4"
913
+ :borderColor: "#1f77b4"
914
+ :options:
915
+ :scales:
916
+ :xAxes:
917
+ - :gridLines:
918
+ :display: false
919
+ :barPercentage: 0.9
920
+ :categoryPercentage: 0.9
921
+ :scaleLabel:
922
+ :display: true
923
+ :labelString: Opened At
924
+ :yAxes:
925
+ - :ticks:
926
+ :beginAtZero: true
927
+ :scaleLabel:
928
+ :display: true
929
+ :labelString: Issues
930
+ :legend:
931
+ :labels:
932
+ :usePointStyle: true
933
+ :maintainAspectRatio: false
934
+ :tooltips:
935
+ :xPadding: 8
936
+ :yPadding: 7
937
+ :type: bar
938
+ - :chart_data:
939
+ :labels:
940
+ - Dec 27, '09
941
+ - Dec 13, '09
942
+ - Dec 20, '09
943
+ :datasets:
944
+ - :label: foo/bar1
945
+ :data:
946
+ - 1
947
+ - 1
948
+ - 0
949
+ :backgroundColor: "#1f77b4"
950
+ :borderColor: "#1f77b4"
951
+ :options:
952
+ :scales:
953
+ :xAxes:
954
+ - :gridLines:
955
+ :display: false
956
+ :barPercentage: 0.9
957
+ :categoryPercentage: 0.9
958
+ :scaleLabel:
959
+ :display: true
960
+ :labelString: Opened At
961
+ :yAxes:
211
962
  - :ticks:
212
963
  :beginAtZero: true
213
964
  :scaleLabel: