minhhungg commited on
Commit
9111585
·
1 Parent(s): 6c50d1f

feat: initial upload for AutoRestTest Track A datasets

Browse files
Files changed (19) hide show
  1. .gitattributes +2 -0
  2. .gitignore +3 -2
  3. data/seal_openapi/operation_status_codes.json +945 -0
  4. data/seal_openapi/q_tables.json +0 -0
  5. data/seal_openapi/report.json +144 -0
  6. data/seal_openapi/server_errors.json +0 -0
  7. data/seal_openapi/successful_bodies.json +0 -0
  8. data/seal_openapi/successful_parameters.json +3 -0
  9. data/seal_openapi/successful_primitives.json +9 -0
  10. data/seal_openapi/successful_responses.json +3 -0
  11. services/emb/cs/rest-gui/ocvn/web/src/main/java/org/devgateway/toolkit/web/excelcharts/data/AbstractSeries.java +27 -0
  12. services/emb/cs/rest-gui/ocvn/web/src/main/java/org/devgateway/toolkit/web/excelcharts/data/AbstractXSSFChartData.java +64 -0
  13. services/emb/cs/rest-gui/ocvn/web/src/main/java/org/devgateway/toolkit/web/excelcharts/data/XSSFAreaChartData.java +81 -0
  14. services/emb/cs/rest-gui/ocvn/web/src/main/java/org/devgateway/toolkit/web/excelcharts/data/XSSFBarChartData.java +92 -0
  15. services/emb/cs/rest-gui/ocvn/web/src/main/java/org/devgateway/toolkit/web/excelcharts/data/XSSFBubbleChartData.java +72 -0
  16. services/emb/cs/rest-gui/ocvn/web/src/main/java/org/devgateway/toolkit/web/excelcharts/data/XSSFLineChartData.java +90 -0
  17. services/emb/cs/rest-gui/ocvn/web/src/main/java/org/devgateway/toolkit/web/excelcharts/data/XSSFPieChartData.java +69 -0
  18. services/emb/cs/rest-gui/ocvn/web/src/main/java/org/devgateway/toolkit/web/excelcharts/data/XSSFScatterChartData.java +93 -0
  19. services/emb/cs/rest-gui/ocvn/web/src/main/java/org/devgateway/toolkit/web/excelcharts/data/XSSFStackedBarChartData.java +67 -0
.gitattributes CHANGED
@@ -19,3 +19,5 @@
19
  *.eps filter=lfs diff=lfs merge=lfs -text
20
  *.xlsx filter=lfs diff=lfs merge=lfs -text
21
  *.exec filter=lfs diff=lfs merge=lfs -text
 
 
 
19
  *.eps filter=lfs diff=lfs merge=lfs -text
20
  *.xlsx filter=lfs diff=lfs merge=lfs -text
21
  *.exec filter=lfs diff=lfs merge=lfs -text
22
+ data/seal_openapi/successful_parameters.json filter=lfs diff=lfs merge=lfs -text
23
+ data/seal_openapi/successful_responses.json filter=lfs diff=lfs merge=lfs -text
.gitignore CHANGED
@@ -21,9 +21,10 @@ __pycache__/
21
  .env
22
 
23
  # Data and cache directories
24
- data/
25
  src/data/
26
- **/data/
 
27
  src/cache/
28
  **/cache/
29
  **/testing_output/
 
21
  .env
22
 
23
  # Data and cache directories
24
+
25
  src/data/
26
+ services/youtube/src/main/java/youtube/data
27
+ aratrl-service/jdk8_1/cs/rest/original/restcountries/src/main/webapp/data
28
  src/cache/
29
  **/cache/
30
  **/testing_output/
data/seal_openapi/operation_status_codes.json ADDED
@@ -0,0 +1,945 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "updateRoles": {
3
+ "500": 1589,
4
+ "400": 572,
5
+ "200": 1237,
6
+ "401": 189,
7
+ "404": 862,
8
+ "405": 3
9
+ },
10
+ "removeByRoundAndUser": {
11
+ "500": 1582,
12
+ "400": 1598,
13
+ "404": 3796,
14
+ "401": 277,
15
+ "405": 5,
16
+ "200": 1
17
+ },
18
+ "assign_1": {
19
+ "400": 1685,
20
+ "401": 211,
21
+ "404": 2498,
22
+ "500": 9,
23
+ "405": 2
24
+ },
25
+ "list_15": {
26
+ "200": 4204,
27
+ "500": 73,
28
+ "401": 180,
29
+ "405": 4,
30
+ "400": 3
31
+ },
32
+ "changeStatus": {
33
+ "400": 386,
34
+ "401": 206,
35
+ "500": 1681,
36
+ "404": 923,
37
+ "405": 8,
38
+ "200": 1416
39
+ },
40
+ "reactivate": {
41
+ "404": 4640,
42
+ "500": 2884,
43
+ "401": 341,
44
+ "400": 29,
45
+ "405": 7
46
+ },
47
+ "create_9": {
48
+ "400": 2440,
49
+ "404": 1734,
50
+ "500": 11,
51
+ "401": 193,
52
+ "405": 3,
53
+ "200": 3
54
+ },
55
+ "createUniversity": {
56
+ "200": 1398,
57
+ "400": 1385,
58
+ "409": 1386,
59
+ "401": 162,
60
+ "405": 6,
61
+ "500": 5
62
+ },
63
+ "removeByTrackAndUser_1": {
64
+ "400": 1003,
65
+ "404": 3498,
66
+ "401": 278,
67
+ "500": 1715,
68
+ "200": 1,
69
+ "405": 1
70
+ },
71
+ "create_12": {
72
+ "400": 1531,
73
+ "200": 1132,
74
+ "401": 159,
75
+ "409": 1514,
76
+ "405": 5,
77
+ "500": 12
78
+ },
79
+ "removeMember": {
80
+ "404": 6061,
81
+ "500": 4558,
82
+ "401": 480,
83
+ "400": 75,
84
+ "405": 18
85
+ },
86
+ "delete_4": {
87
+ "404": 5164,
88
+ "500": 3537,
89
+ "400": 111,
90
+ "401": 386,
91
+ "204": 1,
92
+ "405": 9
93
+ },
94
+ "create_10": {
95
+ "400": 1774,
96
+ "404": 2366,
97
+ "401": 167,
98
+ "405": 9,
99
+ "500": 15
100
+ },
101
+ "upsert": {
102
+ "400": 1746,
103
+ "403": 2477,
104
+ "401": 178,
105
+ "500": 18,
106
+ "200": 3,
107
+ "405": 7
108
+ },
109
+ "get_6": {
110
+ "500": 3634,
111
+ "401": 383,
112
+ "404": 5141,
113
+ "400": 31,
114
+ "405": 6
115
+ },
116
+ "get_5": {
117
+ "500": 1648,
118
+ "404": 1238,
119
+ "401": 195,
120
+ "200": 1406,
121
+ "400": 15,
122
+ "405": 2
123
+ },
124
+ "list_14": {
125
+ "200": 4114,
126
+ "500": 115,
127
+ "401": 199,
128
+ "400": 4,
129
+ "405": 4
130
+ },
131
+ "login": {
132
+ "401": 2567,
133
+ "400": 1773,
134
+ "200": 133,
135
+ "403": 33,
136
+ "500": 13,
137
+ "405": 4
138
+ },
139
+ "updateUniversity": {
140
+ "400": 286,
141
+ "500": 3027,
142
+ "401": 313,
143
+ "404": 4429,
144
+ "409": 74,
145
+ "200": 16,
146
+ "405": 11
147
+ },
148
+ "get_9": {
149
+ "401": 355,
150
+ "500": 3439,
151
+ "404": 5076,
152
+ "405": 7,
153
+ "400": 35
154
+ },
155
+ "delete_6": {
156
+ "500": 3512,
157
+ "404": 5029,
158
+ "401": 376,
159
+ "400": 33,
160
+ "405": 13
161
+ },
162
+ "judgeVariance": {
163
+ "500": 3341,
164
+ "404": 5126,
165
+ "401": 378,
166
+ "400": 39,
167
+ "405": 20
168
+ },
169
+ "createCampus": {
170
+ "404": 1801,
171
+ "400": 1594,
172
+ "200": 325,
173
+ "409": 516,
174
+ "401": 154,
175
+ "500": 16,
176
+ "405": 3
177
+ },
178
+ "closeRegistration": {
179
+ "500": 3962,
180
+ "404": 4701,
181
+ "401": 417,
182
+ "400": 670,
183
+ "200": 46,
184
+ "405": 23
185
+ },
186
+ "get_8": {
187
+ "401": 248,
188
+ "500": 2380,
189
+ "404": 3091,
190
+ "200": 408,
191
+ "400": 16,
192
+ "405": 4
193
+ },
194
+ "reject": {
195
+ "404": 4814,
196
+ "401": 338,
197
+ "500": 3096,
198
+ "405": 9,
199
+ "400": 26
200
+ },
201
+ "create_7": {
202
+ "404": 1001,
203
+ "400": 1486,
204
+ "401": 183,
205
+ "200": 1785,
206
+ "500": 19,
207
+ "405": 5
208
+ },
209
+ "update_9": {
210
+ "500": 2958,
211
+ "400": 1526,
212
+ "404": 2846,
213
+ "200": 165,
214
+ "409": 39,
215
+ "401": 328,
216
+ "405": 5
217
+ },
218
+ "me": {
219
+ "200": 4272,
220
+ "401": 181,
221
+ "405": 8,
222
+ "400": 1
223
+ },
224
+ "update": {
225
+ "500": 1719,
226
+ "400": 260,
227
+ "404": 989,
228
+ "401": 173,
229
+ "200": 1299,
230
+ "409": 136
231
+ },
232
+ "list_5": {
233
+ "200": 4102,
234
+ "401": 153,
235
+ "500": 240,
236
+ "405": 9,
237
+ "400": 5
238
+ },
239
+ "get_10": {
240
+ "404": 1387,
241
+ "401": 219,
242
+ "500": 1890,
243
+ "405": 10,
244
+ "400": 22,
245
+ "200": 1553
246
+ },
247
+ "list_17": {
248
+ "500": 329,
249
+ "200": 3924,
250
+ "401": 152,
251
+ "400": 10,
252
+ "405": 5
253
+ },
254
+ "addAction": {
255
+ "500": 1756,
256
+ "401": 186,
257
+ "400": 246,
258
+ "404": 917,
259
+ "405": 9,
260
+ "200": 1519
261
+ },
262
+ "delete_7": {
263
+ "500": 2264,
264
+ "404": 2885,
265
+ "401": 261,
266
+ "204": 441,
267
+ "400": 24,
268
+ "405": 7
269
+ },
270
+ "campuses": {
271
+ "200": 4384,
272
+ "500": 56,
273
+ "401": 2,
274
+ "405": 6,
275
+ "400": 3
276
+ },
277
+ "list_4": {
278
+ "200": 4305,
279
+ "500": 43,
280
+ "401": 173,
281
+ "400": 3,
282
+ "405": 2
283
+ },
284
+ "create_2": {
285
+ "400": 2466,
286
+ "404": 1819,
287
+ "500": 10,
288
+ "401": 198,
289
+ "405": 11,
290
+ "200": 3
291
+ },
292
+ "refresh": {
293
+ "400": 734,
294
+ "401": 1821,
295
+ "200": 1882,
296
+ "405": 5,
297
+ "500": 16
298
+ },
299
+ "updateStatus": {
300
+ "500": 1607,
301
+ "400": 319,
302
+ "404": 810,
303
+ "200": 1571,
304
+ "401": 213,
305
+ "405": 9
306
+ },
307
+ "delete_5": {
308
+ "500": 4884,
309
+ "404": 5990,
310
+ "401": 432,
311
+ "400": 45,
312
+ "405": 13
313
+ },
314
+ "create_14": {
315
+ "400": 1452,
316
+ "404": 232,
317
+ "200": 2578,
318
+ "401": 202,
319
+ "500": 19,
320
+ "405": 5
321
+ },
322
+ "list_13": {
323
+ "200": 3891,
324
+ "500": 365,
325
+ "401": 195,
326
+ "405": 10,
327
+ "400": 5
328
+ },
329
+ "delete_1": {
330
+ "500": 4023,
331
+ "404": 5379,
332
+ "401": 420,
333
+ "400": 32,
334
+ "405": 7
335
+ },
336
+ "list_3": {
337
+ "500": 935,
338
+ "400": 573,
339
+ "200": 2665,
340
+ "401": 177,
341
+ "405": 6
342
+ },
343
+ "list_11": {
344
+ "200": 3941,
345
+ "500": 278,
346
+ "401": 192,
347
+ "405": 5,
348
+ "400": 8
349
+ },
350
+ "get_13": {
351
+ "404": 952,
352
+ "500": 1609,
353
+ "401": 181,
354
+ "200": 1691,
355
+ "400": 19,
356
+ "405": 5
357
+ },
358
+ "update_7": {
359
+ "400": 1824,
360
+ "500": 3552,
361
+ "404": 3457,
362
+ "401": 376,
363
+ "405": 14
364
+ },
365
+ "rankingCsv": {
366
+ "401": 4403,
367
+ "400": 22
368
+ },
369
+ "removeByTrackAndUser": {
370
+ "401": 289,
371
+ "400": 1001,
372
+ "404": 3755,
373
+ "500": 1854,
374
+ "405": 4,
375
+ "200": 2
376
+ },
377
+ "delete": {
378
+ "500": 3626,
379
+ "404": 5261,
380
+ "401": 400,
381
+ "400": 56,
382
+ "405": 5
383
+ },
384
+ "recalculate": {
385
+ "500": 3066,
386
+ "404": 4968,
387
+ "401": 356,
388
+ "400": 45,
389
+ "405": 9
390
+ },
391
+ "create_6": {
392
+ "401": 148,
393
+ "400": 1550,
394
+ "404": 2656,
395
+ "500": 18,
396
+ "405": 2
397
+ },
398
+ "create": {
399
+ "400": 2521,
400
+ "409": 1736,
401
+ "200": 11,
402
+ "401": 167,
403
+ "500": 13,
404
+ "405": 3
405
+ },
406
+ "delete_3": {
407
+ "404": 6004,
408
+ "500": 4898,
409
+ "400": 46,
410
+ "401": 451,
411
+ "405": 14
412
+ },
413
+ "list_1": {
414
+ "200": 4023,
415
+ "500": 273,
416
+ "401": 183,
417
+ "400": 7,
418
+ "405": 2
419
+ },
420
+ "moveTrack": {
421
+ "500": 2891,
422
+ "401": 330,
423
+ "400": 596,
424
+ "404": 3956,
425
+ "405": 13
426
+ },
427
+ "remove_2": {
428
+ "404": 7029,
429
+ "500": 6172,
430
+ "401": 545,
431
+ "400": 47,
432
+ "405": 32
433
+ },
434
+ "myTeams": {
435
+ "200": 4240,
436
+ "401": 174,
437
+ "405": 2,
438
+ "500": 6
439
+ },
440
+ "add": {
441
+ "404": 2398,
442
+ "400": 1925,
443
+ "401": 169,
444
+ "500": 10,
445
+ "405": 8,
446
+ "200": 1
447
+ },
448
+ "create_13": {
449
+ "400": 1561,
450
+ "401": 210,
451
+ "200": 836,
452
+ "409": 1867,
453
+ "500": 13,
454
+ "405": 6
455
+ },
456
+ "list_7": {
457
+ "200": 2562,
458
+ "400": 601,
459
+ "500": 988,
460
+ "401": 182,
461
+ "405": 7
462
+ },
463
+ "list_16": {
464
+ "200": 4197,
465
+ "405": 4,
466
+ "401": 163
467
+ },
468
+ "get_3": {
469
+ "500": 3149,
470
+ "404": 4835,
471
+ "401": 319,
472
+ "400": 32,
473
+ "405": 9
474
+ },
475
+ "list": {
476
+ "200": 3724,
477
+ "500": 576,
478
+ "400": 25,
479
+ "405": 3,
480
+ "401": 176
481
+ },
482
+ "list_12": {
483
+ "200": 4114,
484
+ "500": 88,
485
+ "401": 196,
486
+ "400": 3,
487
+ "405": 8
488
+ },
489
+ "list_10": {
490
+ "200": 2701,
491
+ "400": 620,
492
+ "500": 957,
493
+ "401": 182,
494
+ "405": 6
495
+ },
496
+ "addEvidence": {
497
+ "500": 1911,
498
+ "405": 7,
499
+ "404": 1053,
500
+ "400": 459,
501
+ "401": 213,
502
+ "200": 1413
503
+ },
504
+ "updateProfile": {
505
+ "500": 1681,
506
+ "400": 159,
507
+ "404": 959,
508
+ "200": 1491,
509
+ "401": 168,
510
+ "405": 9
511
+ },
512
+ "list_2": {
513
+ "200": 4136,
514
+ "500": 156,
515
+ "401": 176,
516
+ "405": 4,
517
+ "400": 8
518
+ },
519
+ "list_8": {
520
+ "200": 3805,
521
+ "500": 559,
522
+ "401": 169,
523
+ "400": 15,
524
+ "405": 8
525
+ },
526
+ "me_1": {
527
+ "200": 4259,
528
+ "401": 144,
529
+ "405": 7
530
+ },
531
+ "create_8": {
532
+ "500": 200,
533
+ "400": 1632,
534
+ "200": 2494,
535
+ "401": 172,
536
+ "405": 8
537
+ },
538
+ "create_5": {
539
+ "400": 2430,
540
+ "404": 1169,
541
+ "401": 176,
542
+ "405": 4,
543
+ "200": 322,
544
+ "409": 394,
545
+ "500": 12
546
+ },
547
+ "teams": {
548
+ "500": 1552,
549
+ "401": 197,
550
+ "200": 2633,
551
+ "405": 7,
552
+ "400": 13
553
+ },
554
+ "deleteUniversity": {
555
+ "500": 3127,
556
+ "404": 4181,
557
+ "401": 317,
558
+ "400": 34,
559
+ "204": 288,
560
+ "405": 7
561
+ },
562
+ "deleteCampus": {
563
+ "401": 310,
564
+ "404": 3948,
565
+ "500": 2841,
566
+ "400": 25,
567
+ "204": 184,
568
+ "405": 6
569
+ },
570
+ "listByTrack_1": {
571
+ "200": 4159,
572
+ "500": 77,
573
+ "401": 168,
574
+ "404": 63,
575
+ "405": 7,
576
+ "400": 3
577
+ },
578
+ "submit": {
579
+ "404": 2562,
580
+ "400": 1697,
581
+ "401": 175,
582
+ "500": 12,
583
+ "405": 6,
584
+ "200": 1
585
+ },
586
+ "register": {
587
+ "400": 2512,
588
+ "404": 8,
589
+ "409": 1837,
590
+ "405": 10,
591
+ "200": 10,
592
+ "500": 17,
593
+ "401": 3
594
+ },
595
+ "update_1": {
596
+ "500": 3238,
597
+ "400": 3297,
598
+ "404": 1634,
599
+ "401": 352,
600
+ "405": 12
601
+ },
602
+ "get_12": {
603
+ "500": 3387,
604
+ "404": 4213,
605
+ "401": 347,
606
+ "400": 37,
607
+ "200": 257,
608
+ "405": 10
609
+ },
610
+ "delete_2": {
611
+ "500": 5043,
612
+ "404": 6210,
613
+ "401": 527,
614
+ "400": 52,
615
+ "405": 13
616
+ },
617
+ "delete_10": {
618
+ "500": 2993,
619
+ "404": 3965,
620
+ "401": 326,
621
+ "204": 278,
622
+ "400": 34,
623
+ "405": 5
624
+ },
625
+ "update_5": {
626
+ "500": 3131,
627
+ "401": 339,
628
+ "404": 4487,
629
+ "400": 396,
630
+ "405": 6
631
+ },
632
+ "get_11": {
633
+ "500": 1618,
634
+ "401": 206,
635
+ "404": 1138,
636
+ "400": 12,
637
+ "200": 1539,
638
+ "405": 2
639
+ },
640
+ "openRegistration": {
641
+ "500": 2649,
642
+ "404": 2418,
643
+ "200": 478,
644
+ "400": 1048,
645
+ "401": 327,
646
+ "405": 12
647
+ },
648
+ "assign": {
649
+ "400": 1814,
650
+ "401": 186,
651
+ "404": 2399,
652
+ "405": 8,
653
+ "500": 10,
654
+ "200": 4
655
+ },
656
+ "create_4": {
657
+ "401": 162,
658
+ "400": 1550,
659
+ "200": 2745,
660
+ "500": 11,
661
+ "405": 5
662
+ },
663
+ "update_8": {
664
+ "500": 1682,
665
+ "400": 129,
666
+ "401": 174,
667
+ "404": 1403,
668
+ "409": 56,
669
+ "200": 1141,
670
+ "405": 5
671
+ },
672
+ "submissions": {
673
+ "500": 1613,
674
+ "200": 2688,
675
+ "401": 185,
676
+ "400": 14,
677
+ "405": 7
678
+ },
679
+ "get_7": {
680
+ "500": 4478,
681
+ "404": 5634,
682
+ "401": 423,
683
+ "405": 11,
684
+ "400": 28
685
+ },
686
+ "remove_1": {
687
+ "404": 5721,
688
+ "500": 4548,
689
+ "400": 48,
690
+ "401": 440,
691
+ "405": 19
692
+ },
693
+ "listForTeam": {
694
+ "401": 172,
695
+ "400": 581,
696
+ "500": 969,
697
+ "200": 2699,
698
+ "405": 2
699
+ },
700
+ "update_4": {
701
+ "400": 1248,
702
+ "500": 4054,
703
+ "404": 4174,
704
+ "401": 400,
705
+ "405": 12
706
+ },
707
+ "create_1": {
708
+ "404": 1093,
709
+ "401": 172,
710
+ "400": 1469,
711
+ "200": 1383,
712
+ "409": 289,
713
+ "405": 3,
714
+ "500": 9
715
+ },
716
+ "listByEvent": {
717
+ "200": 4207,
718
+ "500": 55,
719
+ "404": 35,
720
+ "401": 200,
721
+ "405": 6
722
+ },
723
+ "listByTrack": {
724
+ "200": 4242,
725
+ "500": 69,
726
+ "401": 193,
727
+ "404": 63,
728
+ "405": 8,
729
+ "400": 2
730
+ },
731
+ "list_9": {
732
+ "200": 4281,
733
+ "500": 150,
734
+ "401": 185,
735
+ "400": 7,
736
+ "405": 6
737
+ },
738
+ "list_6": {
739
+ "200": 4092,
740
+ "500": 191,
741
+ "401": 170,
742
+ "400": 5,
743
+ "405": 8
744
+ },
745
+ "accept": {
746
+ "500": 6577,
747
+ "404": 7677,
748
+ "401": 627,
749
+ "400": 49,
750
+ "405": 20
751
+ },
752
+ "assign_2": {
753
+ "400": 1927,
754
+ "404": 2241,
755
+ "401": 167,
756
+ "500": 10,
757
+ "405": 4
758
+ },
759
+ "disqualify": {
760
+ "404": 3007,
761
+ "400": 1765,
762
+ "500": 2923,
763
+ "401": 365,
764
+ "405": 9
765
+ },
766
+ "update_2": {
767
+ "500": 3221,
768
+ "401": 345,
769
+ "404": 4807,
770
+ "400": 218,
771
+ "405": 3
772
+ },
773
+ "remove": {
774
+ "500": 4998,
775
+ "404": 6341,
776
+ "401": 480,
777
+ "400": 35,
778
+ "405": 14
779
+ },
780
+ "update_6": {
781
+ "500": 2935,
782
+ "404": 3541,
783
+ "401": 317,
784
+ "400": 613,
785
+ "405": 1,
786
+ "200": 203
787
+ },
788
+ "anonymizedDataset": {
789
+ "404": 5412,
790
+ "500": 3742,
791
+ "401": 391,
792
+ "400": 35,
793
+ "405": 14
794
+ },
795
+ "listMine": {
796
+ "200": 4286,
797
+ "401": 187,
798
+ "405": 2,
799
+ "500": 1
800
+ },
801
+ "delete_9": {
802
+ "500": 2907,
803
+ "404": 3257,
804
+ "204": 233,
805
+ "401": 295,
806
+ "400": 949,
807
+ "405": 5
808
+ },
809
+ "create_11": {
810
+ "400": 1679,
811
+ "404": 1205,
812
+ "401": 159,
813
+ "200": 1395,
814
+ "500": 9,
815
+ "405": 1
816
+ },
817
+ "get_1": {
818
+ "404": 956,
819
+ "401": 191,
820
+ "500": 1648,
821
+ "200": 1651,
822
+ "405": 8,
823
+ "400": 12
824
+ },
825
+ "setupCompetition": {
826
+ "500": 3619,
827
+ "404": 4247,
828
+ "400": 1023,
829
+ "401": 392,
830
+ "405": 10
831
+ },
832
+ "updateMe": {
833
+ "400": 475,
834
+ "404": 127,
835
+ "200": 3645,
836
+ "401": 203,
837
+ "500": 5,
838
+ "405": 3
839
+ },
840
+ "getUniversity": {
841
+ "404": 3828,
842
+ "500": 3013,
843
+ "200": 250,
844
+ "401": 14,
845
+ "400": 34,
846
+ "405": 4
847
+ },
848
+ "getCampus": {
849
+ "500": 3285,
850
+ "404": 3871,
851
+ "200": 371,
852
+ "401": 9,
853
+ "405": 5,
854
+ "400": 21
855
+ },
856
+ "get_4": {
857
+ "500": 3198,
858
+ "404": 4914,
859
+ "401": 350,
860
+ "400": 34,
861
+ "405": 12
862
+ },
863
+ "cancel": {
864
+ "500": 4587,
865
+ "401": 481,
866
+ "404": 5842,
867
+ "400": 38,
868
+ "405": 10
869
+ },
870
+ "addMember": {
871
+ "500": 3207,
872
+ "404": 3546,
873
+ "400": 1389,
874
+ "401": 341,
875
+ "405": 13
876
+ },
877
+ "universities": {
878
+ "200": 4453,
879
+ "405": 5,
880
+ "401": 4,
881
+ "400": 1
882
+ },
883
+ "join": {
884
+ "404": 3586,
885
+ "400": 609,
886
+ "401": 169,
887
+ "500": 22,
888
+ "405": 1
889
+ },
890
+ "get": {
891
+ "500": 1504,
892
+ "404": 957,
893
+ "401": 192,
894
+ "200": 1737,
895
+ "400": 20,
896
+ "405": 3
897
+ },
898
+ "updateStatus_1": {
899
+ "404": 1010,
900
+ "500": 1737,
901
+ "400": 332,
902
+ "401": 212,
903
+ "405": 10,
904
+ "200": 1431
905
+ },
906
+ "updateCampus": {
907
+ "500": 3269,
908
+ "400": 893,
909
+ "401": 338,
910
+ "404": 4051,
911
+ "409": 77,
912
+ "200": 25,
913
+ "405": 7
914
+ },
915
+ "delete_8": {
916
+ "404": 5016,
917
+ "500": 3277,
918
+ "401": 328,
919
+ "400": 35,
920
+ "405": 9
921
+ },
922
+ "get_2": {
923
+ "500": 5836,
924
+ "404": 6703,
925
+ "401": 519,
926
+ "405": 9,
927
+ "400": 40
928
+ },
929
+ "create_3": {
930
+ "400": 1938,
931
+ "404": 2447,
932
+ "401": 197,
933
+ "405": 3,
934
+ "500": 12
935
+ },
936
+ "update_3": {
937
+ "500": 2175,
938
+ "400": 802,
939
+ "404": 1571,
940
+ "401": 265,
941
+ "200": 816,
942
+ "409": 136,
943
+ "405": 2
944
+ }
945
+ }
data/seal_openapi/q_tables.json ADDED
The diff for this file is too large to render. See raw diff
 
data/seal_openapi/report.json ADDED
@@ -0,0 +1,144 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Title": "AutoRestTest Report for 'OpenAPI definition' (seal_openapi)",
3
+ "Duration": "18000 seconds",
4
+ "Total Requests Sent": 806955,
5
+ "Status Code Distribution": {
6
+ "500": 222802,
7
+ "400": 76305,
8
+ "200": 162526,
9
+ "404": 290204,
10
+ "401": 40203,
11
+ "409": 10057,
12
+ "405": 923,
13
+ "403": 2510,
14
+ "204": 1425
15
+ },
16
+ "Number of Total Operations": 127,
17
+ "Number of Successfully Processed Operations": 87,
18
+ "Percentage of Successfully Processed Operations": "68.5%",
19
+ "Number of Unique Server Errors": 91188,
20
+ "Operations with Server Errors": {
21
+ "updateRoles": 1589,
22
+ "removeByRoundAndUser": 1582,
23
+ "get_6": 3634,
24
+ "get_5": 1648,
25
+ "delete_6": 3512,
26
+ "judgeVariance": 3341,
27
+ "closeRegistration": 3962,
28
+ "update_9": 2958,
29
+ "updateUniversity": 3027,
30
+ "update": 1719,
31
+ "list_17": 329,
32
+ "addAction": 1756,
33
+ "delete_7": 2264,
34
+ "updateStatus": 1607,
35
+ "delete_5": 4884,
36
+ "delete_1": 4023,
37
+ "list_3": 935,
38
+ "delete": 3626,
39
+ "recalculate": 3066,
40
+ "removeMember": 4558,
41
+ "moveTrack": 2891,
42
+ "get_3": 3149,
43
+ "addEvidence": 1911,
44
+ "updateProfile": 1681,
45
+ "create_8": 200,
46
+ "teams": 1552,
47
+ "deleteUniversity": 3127,
48
+ "update_1": 3238,
49
+ "get_12": 3387,
50
+ "delete_2": 5043,
51
+ "delete_10": 2993,
52
+ "get_13": 1609,
53
+ "update_5": 3131,
54
+ "get_11": 1618,
55
+ "openRegistration": 2649,
56
+ "update_8": 1682,
57
+ "submissions": 1613,
58
+ "get_7": 4478,
59
+ "get_9": 3439,
60
+ "list_13": 365,
61
+ "list_15": 73,
62
+ "accept": 6577,
63
+ "delete_3": 4898,
64
+ "get_10": 1890,
65
+ "listByTrack_1": 77,
66
+ "reactivate": 2884,
67
+ "update_2": 3221,
68
+ "remove": 4998,
69
+ "update_6": 2935,
70
+ "get_8": 2380,
71
+ "remove_2": 6172,
72
+ "list_7": 988,
73
+ "delete_9": 2907,
74
+ "remove_1": 4548,
75
+ "list_12": 88,
76
+ "setupCompetition": 3619,
77
+ "list_6": 191,
78
+ "getCampus": 3285,
79
+ "get_4": 3198,
80
+ "cancel": 4587,
81
+ "addMember": 3207,
82
+ "delete_4": 3537,
83
+ "list_14": 115,
84
+ "changeStatus": 1681,
85
+ "get": 1504,
86
+ "list": 576,
87
+ "update_7": 3552,
88
+ "deleteCampus": 2841,
89
+ "list_9": 150,
90
+ "updateCampus": 3269,
91
+ "list_2": 156,
92
+ "listByTrack": 69,
93
+ "getUniversity": 3013,
94
+ "anonymizedDataset": 3742,
95
+ "list_4": 43,
96
+ "disqualify": 2923,
97
+ "get_2": 5836,
98
+ "list_11": 278,
99
+ "updateStatus_1": 1737,
100
+ "delete_8": 3277,
101
+ "removeByTrackAndUser": 1854,
102
+ "listForTeam": 969,
103
+ "update_3": 2175,
104
+ "update_4": 4054,
105
+ "listByEvent": 55,
106
+ "campuses": 56,
107
+ "list_8": 559,
108
+ "list_5": 240,
109
+ "reject": 3096,
110
+ "get_1": 1648,
111
+ "list_1": 273,
112
+ "list_10": 957,
113
+ "removeByTrackAndUser_1": 1715,
114
+ "create_4": 11,
115
+ "add": 10,
116
+ "create_2": 10,
117
+ "create_9": 11,
118
+ "submit": 12,
119
+ "create_6": 18,
120
+ "myTeams": 6,
121
+ "create_7": 19,
122
+ "upsert": 18,
123
+ "create": 13,
124
+ "createCampus": 16,
125
+ "updateMe": 5,
126
+ "join": 22,
127
+ "create_14": 19,
128
+ "register": 17,
129
+ "create_13": 13,
130
+ "refresh": 16,
131
+ "create_12": 12,
132
+ "assign_2": 10,
133
+ "create_10": 15,
134
+ "assign_1": 9,
135
+ "assign": 10,
136
+ "create_3": 12,
137
+ "create_11": 9,
138
+ "login": 13,
139
+ "create_5": 12,
140
+ "create_1": 9,
141
+ "createUniversity": 5,
142
+ "listMine": 1
143
+ }
144
+ }
data/seal_openapi/server_errors.json ADDED
The diff for this file is too large to render. See raw diff
 
data/seal_openapi/successful_bodies.json ADDED
The diff for this file is too large to render. See raw diff
 
data/seal_openapi/successful_parameters.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d510089ddd715e126909e85398bc7536bf4622d7cc56534208d6d0f91dcabd8d
3
+ size 15006117
data/seal_openapi/successful_primitives.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "myTeams": [],
3
+ "listMine": [],
4
+ "list_3": [],
5
+ "submissions": [],
6
+ "teams": [],
7
+ "listForTeam": [],
8
+ "list_4": []
9
+ }
data/seal_openapi/successful_responses.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2bd19fb8c3fbacc4d713ab8e2d91535a79f945f8f294cb92805ce616b9d6438b
3
+ size 4653105185
services/emb/cs/rest-gui/ocvn/web/src/main/java/org/devgateway/toolkit/web/excelcharts/data/AbstractSeries.java ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ package org.devgateway.toolkit.web.excelcharts.data;
2
+
3
+ import org.apache.poi.ss.usermodel.charts.ChartDataSource;
4
+ import org.apache.poi.xssf.usermodel.charts.AbstractXSSFChartSeries;
5
+ import org.devgateway.toolkit.web.excelcharts.CustomChartSeries;
6
+
7
+ /**
8
+ * @author idobre
9
+ * @since 8/12/16
10
+ */
11
+ public abstract class AbstractSeries extends AbstractXSSFChartSeries implements CustomChartSeries {
12
+ protected final int id;
13
+
14
+ protected final int order;
15
+
16
+ protected final ChartDataSource<?> categories;
17
+
18
+ protected final ChartDataSource<? extends Number> values;
19
+
20
+ public AbstractSeries(final int id, final int order, final ChartDataSource<?> categories,
21
+ final ChartDataSource<? extends Number> values) {
22
+ this.id = id;
23
+ this.order = order;
24
+ this.categories = categories;
25
+ this.values = values;
26
+ }
27
+ }
services/emb/cs/rest-gui/ocvn/web/src/main/java/org/devgateway/toolkit/web/excelcharts/data/AbstractXSSFChartData.java ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ package org.devgateway.toolkit.web.excelcharts.data;
2
+
3
+ import org.apache.poi.ss.usermodel.charts.ChartDataSource;
4
+ import org.devgateway.toolkit.web.excelcharts.CustomChartData;
5
+ import org.devgateway.toolkit.web.excelcharts.CustomChartSeries;
6
+
7
+ import java.util.ArrayList;
8
+ import java.util.List;
9
+
10
+ /**
11
+ * @author idobre
12
+ * @since 8/12/16
13
+ *
14
+ * General class for creating a CustomChartData object.
15
+ */
16
+ public abstract class AbstractXSSFChartData implements CustomChartData {
17
+ /**
18
+ * List of all data series.
19
+ */
20
+ protected final List<CustomChartSeries> series;
21
+
22
+ /**
23
+ * Chart title.
24
+ */
25
+ protected final String title;
26
+
27
+ public AbstractXSSFChartData(final String title) {
28
+ this.title = title;
29
+ series = new ArrayList<>();
30
+ }
31
+
32
+ public AbstractXSSFChartData() {
33
+ this(null);
34
+ }
35
+
36
+ @Override
37
+ public CustomChartSeries addSeries(final ChartDataSource<?> categoryAxisData,
38
+ final ChartDataSource<? extends Number> values) {
39
+ return this.addSeries(null, categoryAxisData, values);
40
+ }
41
+
42
+ @Override
43
+ public CustomChartSeries addSeries(final String title, final ChartDataSource<?> categoryAxisData,
44
+ final ChartDataSource<? extends Number> values) {
45
+ if (!values.isNumeric()) {
46
+ throw new IllegalArgumentException("Value data source must be numeric.");
47
+ }
48
+
49
+ int numOfSeries = series.size();
50
+ final CustomChartSeries newSeries = createNewSerie(numOfSeries, numOfSeries, categoryAxisData, values);
51
+ if (title != null) {
52
+ newSeries.setTitle(title);
53
+ }
54
+ series.add(newSeries);
55
+
56
+ return newSeries;
57
+ }
58
+
59
+ /**
60
+ * Add a new Serie specific to each AbstractXSSFChartData implementation.
61
+ */
62
+ protected abstract CustomChartSeries createNewSerie(int id, int order,
63
+ ChartDataSource<?> categories, ChartDataSource<? extends Number> values);
64
+ }
services/emb/cs/rest-gui/ocvn/web/src/main/java/org/devgateway/toolkit/web/excelcharts/data/XSSFAreaChartData.java ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ package org.devgateway.toolkit.web.excelcharts.data;
2
+
3
+ import org.apache.poi.ss.usermodel.Chart;
4
+ import org.apache.poi.ss.usermodel.charts.ChartAxis;
5
+ import org.apache.poi.ss.usermodel.charts.ChartDataSource;
6
+ import org.apache.poi.xssf.usermodel.XSSFChart;
7
+ import org.apache.xmlbeans.XmlObject;
8
+ import org.devgateway.toolkit.web.excelcharts.CustomChartSeries;
9
+ import org.devgateway.toolkit.web.excelcharts.util.XSSFChartUtil;
10
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTAreaChart;
11
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTAreaSer;
12
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTAxDataSource;
13
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTNumDataSource;
14
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTPlotArea;
15
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTValAx;
16
+ import org.openxmlformats.schemas.drawingml.x2006.chart.STCrossBetween;
17
+
18
+ /**
19
+ * @author idobre
20
+ * @since 8/8/16
21
+ *
22
+ * Holds data for a XSSF Area Chart.
23
+ */
24
+ public class XSSFAreaChartData extends AbstractXSSFChartData {
25
+ public XSSFAreaChartData(final String title) {
26
+ super(title);
27
+ }
28
+
29
+ @Override
30
+ protected CustomChartSeries createNewSerie(final int id, final int order, final ChartDataSource<?> categories,
31
+ final ChartDataSource<? extends Number> values) {
32
+ return new AbstractSeries(id, order, categories, values) {
33
+ @Override
34
+ public void addToChart(final XmlObject ctChart) {
35
+ final CTAreaChart ctAreaChart = (CTAreaChart) ctChart;
36
+ final CTAreaSer ctAreaSer = ctAreaChart.addNewSer();
37
+
38
+ ctAreaSer.addNewIdx().setVal(this.id);
39
+ ctAreaSer.addNewOrder().setVal(this.order);
40
+
41
+ final CTAxDataSource catDS = ctAreaSer.addNewCat();
42
+ XSSFChartUtil.buildAxDataSource(catDS, this.categories);
43
+
44
+ final CTNumDataSource valueDS = ctAreaSer.addNewVal();
45
+ XSSFChartUtil.buildNumDataSource(valueDS, this.values);
46
+
47
+ if (isTitleSet()) {
48
+ ctAreaSer.setTx(getCTSerTx());
49
+ }
50
+ }
51
+ };
52
+ }
53
+
54
+ @Override
55
+ public void fillChart(final Chart chart, final ChartAxis... axis) {
56
+ if (!(chart instanceof XSSFChart)) {
57
+ throw new IllegalArgumentException("Chart must be instance of XSSFChart");
58
+ }
59
+
60
+ final XSSFChart xssfChart = (XSSFChart) chart;
61
+ final CTPlotArea plotArea = xssfChart.getCTChart().getPlotArea();
62
+ final CTAreaChart areChart = plotArea.addNewAreaChart();
63
+ areChart.addNewVaryColors().setVal(false);
64
+
65
+ xssfChart.setTitle(this.title);
66
+
67
+ CTValAx[] ctValAx = plotArea.getValAxArray();
68
+ if (ctValAx.length != 0) {
69
+ ctValAx[0].addNewMajorGridlines().addNewSpPr().addNewSolidFill();
70
+ ctValAx[0].getCrossBetween().setVal(STCrossBetween.BETWEEN);
71
+ }
72
+
73
+ for (CustomChartSeries s : series) {
74
+ s.addToChart(areChart);
75
+ }
76
+
77
+ for (ChartAxis ax : axis) {
78
+ areChart.addNewAxId().setVal(ax.getId());
79
+ }
80
+ }
81
+ }
services/emb/cs/rest-gui/ocvn/web/src/main/java/org/devgateway/toolkit/web/excelcharts/data/XSSFBarChartData.java ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ package org.devgateway.toolkit.web.excelcharts.data;
2
+
3
+ import org.apache.poi.ss.usermodel.Chart;
4
+ import org.apache.poi.ss.usermodel.charts.ChartAxis;
5
+ import org.apache.poi.ss.usermodel.charts.ChartDataSource;
6
+ import org.apache.poi.xssf.usermodel.XSSFChart;
7
+ import org.apache.xmlbeans.XmlObject;
8
+ import org.devgateway.toolkit.web.excelcharts.CustomChartSeries;
9
+ import org.devgateway.toolkit.web.excelcharts.util.XSSFChartUtil;
10
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTAxDataSource;
11
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTBarChart;
12
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTBarSer;
13
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTNumDataSource;
14
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTPlotArea;
15
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTValAx;
16
+ import org.openxmlformats.schemas.drawingml.x2006.chart.STBarDir;
17
+ import org.openxmlformats.schemas.drawingml.x2006.chart.STCrossBetween;
18
+
19
+ /**
20
+ * @author idobre
21
+ * @since 8/8/16
22
+ *
23
+ * Holds data for a XSSF Bar Chart.
24
+ */
25
+ public class XSSFBarChartData extends AbstractXSSFChartData {
26
+ protected STBarDir.Enum barDir = STBarDir.COL;
27
+
28
+ public XSSFBarChartData(final String title) {
29
+ super(title);
30
+ }
31
+
32
+ @Override
33
+ protected CustomChartSeries createNewSerie(final int id, final int order, final ChartDataSource<?> categories,
34
+ final ChartDataSource<? extends Number> values) {
35
+ return new AbstractSeries(id, order, categories, values) {
36
+ @Override
37
+ public void addToChart(final XmlObject ctChart) {
38
+ final CTBarChart ctBarChart = (CTBarChart) ctChart;
39
+ final CTBarSer ctBarSer = ctBarChart.addNewSer();
40
+
41
+ ctBarSer.addNewIdx().setVal(this.id);
42
+ ctBarSer.addNewOrder().setVal(this.order);
43
+
44
+ final CTAxDataSource catDS = ctBarSer.addNewCat();
45
+ XSSFChartUtil.buildAxDataSource(catDS, this.categories);
46
+
47
+ final CTNumDataSource valueDS = ctBarSer.addNewVal();
48
+ XSSFChartUtil.buildNumDataSource(valueDS, this.values);
49
+
50
+ if (isTitleSet()) {
51
+ ctBarSer.setTx(getCTSerTx());
52
+ }
53
+ }
54
+ };
55
+ }
56
+
57
+ @Override
58
+ public void fillChart(final Chart chart, final ChartAxis... axis) {
59
+ if (!(chart instanceof XSSFChart)) {
60
+ throw new IllegalArgumentException("Chart must be instance of XSSFChart");
61
+ }
62
+
63
+ final XSSFChart xssfChart = (XSSFChart) chart;
64
+ final CTPlotArea plotArea = xssfChart.getCTChart().getPlotArea();
65
+ final CTBarChart barChart = plotArea.addNewBarChart();
66
+
67
+ barChart.addNewVaryColors().setVal(false);
68
+
69
+ // set bars orientation
70
+ barChart.addNewBarDir().setVal(barDir);
71
+
72
+ xssfChart.setTitle(this.title);
73
+
74
+ CTValAx[] ctValAx = plotArea.getValAxArray();
75
+ if (ctValAx.length != 0) {
76
+ ctValAx[0].addNewMajorGridlines().addNewSpPr().addNewSolidFill();
77
+ ctValAx[0].getCrossBetween().setVal(STCrossBetween.BETWEEN);
78
+ }
79
+
80
+ for (CustomChartSeries s : series) {
81
+ s.addToChart(barChart);
82
+ }
83
+
84
+ for (ChartAxis ax : axis) {
85
+ barChart.addNewAxId().setVal(ax.getId());
86
+ }
87
+ }
88
+
89
+ public void setBarDir(final STBarDir.Enum barDir) {
90
+ this.barDir = barDir;
91
+ }
92
+ }
services/emb/cs/rest-gui/ocvn/web/src/main/java/org/devgateway/toolkit/web/excelcharts/data/XSSFBubbleChartData.java ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ package org.devgateway.toolkit.web.excelcharts.data;
2
+
3
+ import org.apache.poi.ss.usermodel.Chart;
4
+ import org.apache.poi.ss.usermodel.charts.ChartAxis;
5
+ import org.apache.poi.ss.usermodel.charts.ChartDataSource;
6
+ import org.apache.poi.xssf.usermodel.XSSFChart;
7
+ import org.apache.xmlbeans.XmlObject;
8
+ import org.devgateway.toolkit.web.excelcharts.CustomChartSeries;
9
+ import org.devgateway.toolkit.web.excelcharts.util.XSSFChartUtil;
10
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTAxDataSource;
11
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTBubbleChart;
12
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTBubbleSer;
13
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTNumDataSource;
14
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTPlotArea;
15
+
16
+ /**
17
+ * @author idobre
18
+ * @since 8/12/16
19
+ *
20
+ * Holds data for a XSSF Bubble Chart.
21
+ */
22
+ public class XSSFBubbleChartData extends AbstractXSSFChartData {
23
+ public XSSFBubbleChartData(final String title) {
24
+ super(title);
25
+ }
26
+
27
+ @Override
28
+ protected CustomChartSeries createNewSerie(final int id, final int order, final ChartDataSource<?> categories,
29
+ final ChartDataSource<? extends Number> values) {
30
+ return new AbstractSeries(id, order, categories, values) {
31
+ @Override
32
+ public void addToChart(final XmlObject ctChart) {
33
+ final CTBubbleChart ctBubbleChart = (CTBubbleChart) ctChart;
34
+ final CTBubbleSer bubbleSer = ctBubbleChart.addNewSer();
35
+
36
+ bubbleSer.addNewIdx().setVal(this.id);
37
+ bubbleSer.addNewOrder().setVal(this.order);
38
+
39
+ final CTAxDataSource catDS = bubbleSer.addNewXVal();
40
+ XSSFChartUtil.buildAxDataSource(catDS, this.categories);
41
+
42
+ final CTNumDataSource valueDS = bubbleSer.addNewBubbleSize();
43
+ XSSFChartUtil.buildNumDataSource(valueDS, this.values);
44
+
45
+ if (isTitleSet()) {
46
+ bubbleSer.setTx(getCTSerTx());
47
+ }
48
+ }
49
+ };
50
+ }
51
+
52
+ @Override
53
+ public void fillChart(final Chart chart, final ChartAxis... axis) {
54
+ if (!(chart instanceof XSSFChart)) {
55
+ throw new IllegalArgumentException("Chart must be instance of XSSFChart");
56
+ }
57
+
58
+ final XSSFChart xssfChart = (XSSFChart) chart;
59
+ final CTPlotArea plotArea = xssfChart.getCTChart().getPlotArea();
60
+ final CTBubbleChart bubbleChart = plotArea.addNewBubbleChart();
61
+
62
+ for (CustomChartSeries s : series) {
63
+ s.addToChart(bubbleChart);
64
+ }
65
+
66
+ for (ChartAxis ax : axis) {
67
+ bubbleChart.addNewAxId().setVal(ax.getId());
68
+ }
69
+
70
+ xssfChart.setTitle(this.title);
71
+ }
72
+ }
services/emb/cs/rest-gui/ocvn/web/src/main/java/org/devgateway/toolkit/web/excelcharts/data/XSSFLineChartData.java ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ package org.devgateway.toolkit.web.excelcharts.data;
2
+
3
+ import org.apache.poi.ss.usermodel.Chart;
4
+ import org.apache.poi.ss.usermodel.charts.ChartAxis;
5
+ import org.apache.poi.ss.usermodel.charts.ChartDataSource;
6
+ import org.apache.poi.xssf.usermodel.XSSFChart;
7
+ import org.apache.xmlbeans.XmlObject;
8
+ import org.devgateway.toolkit.web.excelcharts.CustomChartSeries;
9
+ import org.devgateway.toolkit.web.excelcharts.util.XSSFChartUtil;
10
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTAxDataSource;
11
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTCatAx;
12
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTLineChart;
13
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTLineSer;
14
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTNumDataSource;
15
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTPlotArea;
16
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTValAx;
17
+ import org.openxmlformats.schemas.drawingml.x2006.chart.STMarkerStyle;
18
+
19
+ /**
20
+ * @author idobre
21
+ * @since 8/12/16
22
+ *
23
+ * Holds data for a XSSF Line Chart.
24
+ */
25
+ public class XSSFLineChartData extends AbstractXSSFChartData {
26
+ public XSSFLineChartData(final String title) {
27
+ super(title);
28
+ }
29
+
30
+ @Override
31
+ protected CustomChartSeries createNewSerie(final int id, final int order, final ChartDataSource<?> categories,
32
+ final ChartDataSource<? extends Number> values) {
33
+ return new AbstractSeries(id, order, categories, values) {
34
+ @Override
35
+ public void addToChart(final XmlObject ctChart) {
36
+ final CTLineChart ctLineChart = (CTLineChart) ctChart;
37
+ final CTLineSer ctLineSer = ctLineChart.addNewSer();
38
+
39
+ ctLineSer.addNewIdx().setVal(this.id);
40
+ ctLineSer.addNewOrder().setVal(this.order);
41
+
42
+ // No marker symbol on the chart line.
43
+ ctLineSer.addNewMarker().addNewSymbol().setVal(STMarkerStyle.CIRCLE);
44
+
45
+ final CTAxDataSource catDS = ctLineSer.addNewCat();
46
+ XSSFChartUtil.buildAxDataSource(catDS, this.categories);
47
+
48
+ final CTNumDataSource valueDS = ctLineSer.addNewVal();
49
+ XSSFChartUtil.buildNumDataSource(valueDS, this.values);
50
+
51
+ if (isTitleSet()) {
52
+ ctLineSer.setTx(getCTSerTx());
53
+ }
54
+ }
55
+ };
56
+ }
57
+
58
+ @Override
59
+ public void fillChart(final Chart chart, final ChartAxis... axis) {
60
+ if (!(chart instanceof XSSFChart)) {
61
+ throw new IllegalArgumentException("Chart must be instance of XSSFChart");
62
+ }
63
+
64
+ final XSSFChart xssfChart = (XSSFChart) chart;
65
+ final CTPlotArea plotArea = xssfChart.getCTChart().getPlotArea();
66
+ final CTLineChart lineChart = plotArea.addNewLineChart();
67
+ lineChart.addNewVaryColors().setVal(false);
68
+
69
+ for (CustomChartSeries s : series) {
70
+ s.addToChart(lineChart);
71
+ }
72
+
73
+ for (ChartAxis ax : axis) {
74
+ lineChart.addNewAxId().setVal(ax.getId());
75
+ }
76
+
77
+ xssfChart.setTitle(this.title);
78
+
79
+ // add grid lines
80
+ CTCatAx[] ctCatAx = plotArea.getCatAxArray();
81
+ if (ctCatAx.length != 0) {
82
+ ctCatAx[0].addNewMajorGridlines().addNewSpPr().addNewSolidFill();
83
+ }
84
+
85
+ CTValAx[] ctValAx = plotArea.getValAxArray();
86
+ if (ctValAx.length != 0) {
87
+ ctValAx[0].addNewMajorGridlines().addNewSpPr().addNewSolidFill();
88
+ }
89
+ }
90
+ }
services/emb/cs/rest-gui/ocvn/web/src/main/java/org/devgateway/toolkit/web/excelcharts/data/XSSFPieChartData.java ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ package org.devgateway.toolkit.web.excelcharts.data;
2
+
3
+ import org.apache.poi.ss.usermodel.Chart;
4
+ import org.apache.poi.ss.usermodel.charts.ChartAxis;
5
+ import org.apache.poi.ss.usermodel.charts.ChartDataSource;
6
+ import org.apache.poi.xssf.usermodel.XSSFChart;
7
+ import org.apache.xmlbeans.XmlObject;
8
+ import org.devgateway.toolkit.web.excelcharts.CustomChartSeries;
9
+ import org.devgateway.toolkit.web.excelcharts.util.XSSFChartUtil;
10
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTAxDataSource;
11
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTNumDataSource;
12
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTPieChart;
13
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTPieSer;
14
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTPlotArea;
15
+
16
+ /**
17
+ * @author idobre
18
+ * @since 8/8/16
19
+ *
20
+ * Holds data for a XSSF Pie Chart.
21
+ */
22
+ public class XSSFPieChartData extends AbstractXSSFChartData {
23
+ public XSSFPieChartData(final String title) {
24
+ super(title);
25
+ }
26
+
27
+ @Override
28
+ protected CustomChartSeries createNewSerie(final int id, final int order, final ChartDataSource<?> categories,
29
+ final ChartDataSource<? extends Number> values) {
30
+ return new AbstractSeries(id, order, categories, values) {
31
+ @Override
32
+ public void addToChart(final XmlObject ctChart) {
33
+ final CTPieChart ctPieChart = (CTPieChart) ctChart;
34
+ final CTPieSer ctPieSer = ctPieChart.addNewSer();
35
+
36
+ ctPieSer.addNewIdx().setVal(this.id);
37
+ ctPieSer.addNewOrder().setVal(this.order);
38
+
39
+ final CTAxDataSource catDS = ctPieSer.addNewCat();
40
+ XSSFChartUtil.buildAxDataSource(catDS, this.categories);
41
+
42
+ final CTNumDataSource valueDS = ctPieSer.addNewVal();
43
+ XSSFChartUtil.buildNumDataSource(valueDS, this.values);
44
+
45
+ if (isTitleSet()) {
46
+ ctPieSer.setTx(getCTSerTx());
47
+ }
48
+ }
49
+ };
50
+ }
51
+
52
+ @Override
53
+ public void fillChart(final Chart chart, final ChartAxis... axis) {
54
+ if (!(chart instanceof XSSFChart)) {
55
+ throw new IllegalArgumentException("Chart must be instance of XSSFChart");
56
+ }
57
+
58
+ final XSSFChart xssfChart = (XSSFChart) chart;
59
+ final CTPlotArea plotArea = xssfChart.getCTChart().getPlotArea();
60
+ final CTPieChart pieChart = plotArea.addNewPieChart();
61
+ pieChart.addNewVaryColors().setVal(true);
62
+
63
+ xssfChart.setTitle(this.title);
64
+
65
+ for (CustomChartSeries s : series) {
66
+ s.addToChart(pieChart);
67
+ }
68
+ }
69
+ }
services/emb/cs/rest-gui/ocvn/web/src/main/java/org/devgateway/toolkit/web/excelcharts/data/XSSFScatterChartData.java ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ package org.devgateway.toolkit.web.excelcharts.data;
2
+
3
+ import org.apache.poi.ss.usermodel.Chart;
4
+ import org.apache.poi.ss.usermodel.charts.ChartAxis;
5
+ import org.apache.poi.ss.usermodel.charts.ChartDataSource;
6
+ import org.apache.poi.xssf.usermodel.XSSFChart;
7
+ import org.apache.xmlbeans.XmlObject;
8
+ import org.devgateway.toolkit.web.excelcharts.CustomChartSeries;
9
+ import org.devgateway.toolkit.web.excelcharts.util.XSSFChartUtil;
10
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTAxDataSource;
11
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTCatAx;
12
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTNumDataSource;
13
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTPlotArea;
14
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTScatterChart;
15
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTScatterSer;
16
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTScatterStyle;
17
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTValAx;
18
+ import org.openxmlformats.schemas.drawingml.x2006.chart.STScatterStyle;
19
+
20
+ /**
21
+ * @author idobre
22
+ * @since 8/12/16
23
+ *
24
+ * Holds data for a XSSF Scatter Chart.
25
+ */
26
+ public class XSSFScatterChartData extends AbstractXSSFChartData {
27
+ public XSSFScatterChartData(final String title) {
28
+ super(title);
29
+ }
30
+
31
+ @Override
32
+ protected CustomChartSeries createNewSerie(final int id, final int order, final ChartDataSource<?> categories,
33
+ final ChartDataSource<? extends Number> values) {
34
+ return new AbstractSeries(id, order, categories, values) {
35
+ @Override
36
+ public void addToChart(final XmlObject ctChart) {
37
+ final CTScatterChart ctScatterChart = (CTScatterChart) ctChart;
38
+ final CTScatterSer scatterSer = ctScatterChart.addNewSer();
39
+
40
+ scatterSer.addNewIdx().setVal(this.id);
41
+ scatterSer.addNewOrder().setVal(this.order);
42
+
43
+ final CTAxDataSource catDS = scatterSer.addNewXVal();
44
+ XSSFChartUtil.buildAxDataSource(catDS, this.categories);
45
+
46
+ final CTNumDataSource valueDS = scatterSer.addNewYVal();
47
+ XSSFChartUtil.buildNumDataSource(valueDS, this.values);
48
+
49
+ if (isTitleSet()) {
50
+ scatterSer.setTx(getCTSerTx());
51
+ }
52
+ }
53
+ };
54
+ }
55
+
56
+ @Override
57
+ public void fillChart(final Chart chart, final ChartAxis... axis) {
58
+ if (!(chart instanceof XSSFChart)) {
59
+ throw new IllegalArgumentException("Chart must be instance of XSSFChart");
60
+ }
61
+
62
+ final XSSFChart xssfChart = (XSSFChart) chart;
63
+ final CTPlotArea plotArea = xssfChart.getCTChart().getPlotArea();
64
+ final CTScatterChart scatterChart = plotArea.addNewScatterChart();
65
+ addStyle(scatterChart);
66
+
67
+ for (CustomChartSeries s : series) {
68
+ s.addToChart(scatterChart);
69
+ }
70
+
71
+ for (ChartAxis ax : axis) {
72
+ scatterChart.addNewAxId().setVal(ax.getId());
73
+ }
74
+
75
+ xssfChart.setTitle(this.title);
76
+
77
+ // add grid lines
78
+ CTCatAx[] ctCatAx = plotArea.getCatAxArray();
79
+ if (ctCatAx.length != 0) {
80
+ ctCatAx[0].addNewMajorGridlines().addNewSpPr().addNewSolidFill();
81
+ }
82
+
83
+ CTValAx[] ctValAx = plotArea.getValAxArray();
84
+ if (ctValAx.length != 0) {
85
+ ctValAx[0].addNewMajorGridlines().addNewSpPr().addNewSolidFill();
86
+ }
87
+ }
88
+
89
+ private static void addStyle(final CTScatterChart ctScatterChart) {
90
+ final CTScatterStyle scatterStyle = ctScatterChart.addNewScatterStyle();
91
+ scatterStyle.setVal(STScatterStyle.LINE_MARKER);
92
+ }
93
+ }
services/emb/cs/rest-gui/ocvn/web/src/main/java/org/devgateway/toolkit/web/excelcharts/data/XSSFStackedBarChartData.java ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ package org.devgateway.toolkit.web.excelcharts.data;
2
+
3
+ import org.apache.poi.ss.usermodel.Chart;
4
+ import org.apache.poi.ss.usermodel.charts.ChartAxis;
5
+ import org.apache.poi.xssf.usermodel.XSSFChart;
6
+ import org.devgateway.toolkit.web.excelcharts.CustomChartSeries;
7
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTBarChart;
8
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTPlotArea;
9
+ import org.openxmlformats.schemas.drawingml.x2006.chart.CTValAx;
10
+ import org.openxmlformats.schemas.drawingml.x2006.chart.STBarGrouping;
11
+ import org.openxmlformats.schemas.drawingml.x2006.chart.STCrossBetween;
12
+
13
+ /**
14
+ * @author idobre
15
+ * @since 8/8/16
16
+ *
17
+ * Holds data for a XSSF Stacked Bar Chart.
18
+ */
19
+ public class XSSFStackedBarChartData extends XSSFBarChartData {
20
+ private STBarGrouping.Enum barGrouping = STBarGrouping.STACKED;
21
+
22
+ private static final int OVERLAPPERCENTAGE = 100;
23
+
24
+ public XSSFStackedBarChartData(final String title) {
25
+ super(title);
26
+ }
27
+
28
+ @Override
29
+ public void fillChart(final Chart chart, final ChartAxis... axis) {
30
+ if (!(chart instanceof XSSFChart)) {
31
+ throw new IllegalArgumentException("Chart must be instance of XSSFChart");
32
+ }
33
+
34
+ final XSSFChart xssfChart = (XSSFChart) chart;
35
+ final CTPlotArea plotArea = xssfChart.getCTChart().getPlotArea();
36
+ final CTBarChart barChart = plotArea.addNewBarChart();
37
+
38
+ barChart.addNewVaryColors().setVal(false);
39
+
40
+ // create a stacked bar
41
+ barChart.addNewGrouping().setVal(barGrouping);
42
+ barChart.addNewOverlap().setVal((byte) OVERLAPPERCENTAGE);
43
+
44
+ // set bars orientation
45
+ barChart.addNewBarDir().setVal(barDir);
46
+
47
+ xssfChart.setTitle(this.title);
48
+
49
+ CTValAx[] ctValAx = plotArea.getValAxArray();
50
+ if (ctValAx.length != 0) {
51
+ ctValAx[0].addNewMajorGridlines().addNewSpPr().addNewSolidFill();
52
+ ctValAx[0].getCrossBetween().setVal(STCrossBetween.BETWEEN);
53
+ }
54
+
55
+ for (CustomChartSeries s : series) {
56
+ s.addToChart(barChart);
57
+ }
58
+
59
+ for (ChartAxis ax : axis) {
60
+ barChart.addNewAxId().setVal(ax.getId());
61
+ }
62
+ }
63
+
64
+ public void setBarGrouping(final STBarGrouping.Enum barGrouping) {
65
+ this.barGrouping = barGrouping;
66
+ }
67
+ }