1 |
www |
1 |
<?php
|
|
|
2 |
|
16822 |
efrain |
3 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/chart.js/chart.js'));
|
|
|
4 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/chartjs-plugin-datalabels/chartjs-plugin-datalabels.js'));
|
1 |
www |
5 |
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
$labelsLastWeekCompanies = '';
|
|
|
9 |
$totalsLastWeekCompanies = '';
|
|
|
10 |
$valuesLastWeekCompanies = '';
|
|
|
11 |
if(!empty($reportsLastWeek['companies'])) {
|
|
|
12 |
foreach($reportsLastWeek['companies'] as $record) {
|
|
|
13 |
|
|
|
14 |
$labelsLastWeekCompanies .= empty($labelsLastWeekCompanies) ? "'{$record['name']}'" : ", '{$record['name']}'";
|
|
|
15 |
$totalsLastWeekCompanies .= empty($totalsLastWeekCompanies) ? "{$record['total']}" : ", {$record['total']}";
|
|
|
16 |
$valuesLastWeekCompanies .= empty($valuesLastWeekCompanies) ? "{$record['value']}" : ", {$record['value']}";
|
|
|
17 |
}
|
|
|
18 |
}
|
|
|
19 |
|
|
|
20 |
$labelsLastWeekFunctions = '';
|
|
|
21 |
$totalsLastWeekFunctions = '';
|
|
|
22 |
$valuesLastWeekFunctions = '';
|
|
|
23 |
if(!empty($reportsLastWeek['functions'])) {
|
|
|
24 |
foreach($reportsLastWeek['functions'] as $record) {
|
|
|
25 |
|
|
|
26 |
$labelsLastWeekFunctions .= empty($labelsLastWeekFunctions) ? "'{$record['name']}'" : ", '{$record['name']}'";
|
|
|
27 |
$totalsLastWeekFunctions .= empty($totalsLastWeekFunctions) ? "{$record['total']}" : ", {$record['total']}";
|
|
|
28 |
$valuesLastWeekFunctions .= empty($valuesLastWeekFunctions) ? "{$record['value']}" : ", {$record['value']}";
|
|
|
29 |
}
|
|
|
30 |
}
|
|
|
31 |
|
|
|
32 |
$labelsLastWeekInstitutions = '';
|
|
|
33 |
$totalsLastWeekInstitutions = '';
|
|
|
34 |
$valuesLastWeekInstitutions = '';
|
|
|
35 |
if(!empty($reportsLastWeek['institutions'])) {
|
|
|
36 |
foreach($reportsLastWeek['institutions'] as $record) {
|
|
|
37 |
|
|
|
38 |
$labelsLastWeekInstitutions .= empty($labelsLastWeekInstitutions) ? "'{$record['name']}'" : ", '{$record['name']}'";
|
|
|
39 |
$totalsLastWeekInstitutions .= empty($totalsLastWeekInstitutions) ? "{$record['total']}" : ", {$record['total']}";
|
|
|
40 |
$valuesLastWeekInstitutions .= empty($valuesLastWeekInstitutions) ? "{$record['value']}" : ", {$record['value']}";
|
|
|
41 |
}
|
|
|
42 |
}
|
|
|
43 |
|
|
|
44 |
$labelsLastWeekGroups = '';
|
|
|
45 |
$totalsLastWeekGroups = '';
|
|
|
46 |
$valuesLastWeekGroups = '';
|
|
|
47 |
if(!empty($reportsLastWeek['groups'])) {
|
|
|
48 |
foreach($reportsLastWeek['groups'] as $record) {
|
|
|
49 |
|
|
|
50 |
$labelsLastWeekGroups .= empty($labelsLastWeekGroups) ? "'{$record['name']}'" : ", '{$record['name']}'";
|
|
|
51 |
$totalsLastWeekGroups .= empty($totalsLastWeekGroups) ? "{$record['total']}" : ", {$record['total']}";
|
|
|
52 |
$valuesLastWeekGroups .= empty($valuesLastWeekGroups) ? "{$record['value']}" : ", {$record['value']}";
|
|
|
53 |
}
|
|
|
54 |
}
|
|
|
55 |
|
|
|
56 |
$labelsLastWeekPrograms = '';
|
|
|
57 |
$totalsLastWeekPrograms = '';
|
|
|
58 |
$valuesLastWeekPrograms = '';
|
|
|
59 |
if(!empty($reportsLastWeek['programs'])) {
|
|
|
60 |
foreach($reportsLastWeek['programs'] as $record) {
|
|
|
61 |
|
|
|
62 |
$labelsLastWeekPrograms .= empty($labelsLastWeekPrograms) ? "'{$record['name']}'" : ", '{$record['name']}'";
|
|
|
63 |
$totalsLastWeekPrograms .= empty($totalsLastWeekPrograms) ? "{$record['total']}" : ", {$record['total']}";
|
|
|
64 |
$valuesLastWeekPrograms .= empty($valuesLastWeekPrograms) ? "{$record['value']}" : ", {$record['value']}";
|
|
|
65 |
}
|
|
|
66 |
}
|
|
|
67 |
|
|
|
68 |
$labelsLastWeekPartners = '';
|
|
|
69 |
$totalsLastWeekPartners = '';
|
|
|
70 |
$valuesLastWeekPartners = '';
|
|
|
71 |
if(!empty($reportsLastWeek['partners'])) {
|
|
|
72 |
foreach($reportsLastWeek['partners'] as $record) {
|
|
|
73 |
|
|
|
74 |
$labelsLastWeekPartners .= empty($labelsLastWeekPartners) ? "'{$record['name']}'" : ", '{$record['name']}'";
|
|
|
75 |
$totalsLastWeekPartners .= empty($totalsLastWeekPartners) ? "{$record['total']}" : ", {$record['total']}";
|
|
|
76 |
$valuesLastWeekPartners .= empty($valuesLastWeekPartners) ? "{$record['value']}" : ", {$record['value']}";
|
|
|
77 |
}
|
|
|
78 |
}
|
|
|
79 |
|
|
|
80 |
$labelsLastWeekSectors = '';
|
|
|
81 |
$totalsLastWeekSectors = '';
|
|
|
82 |
$valuesLastWeekSectors = '';
|
|
|
83 |
if(!empty($reportsLastWeek['sectors'])) {
|
|
|
84 |
foreach($reportsLastWeek['sectors'] as $record) {
|
|
|
85 |
|
|
|
86 |
$labelsLastWeekSectors .= empty($labelsLastWeekSectors) ? "'{$record['name']}'" : ", '{$record['name']}'";
|
|
|
87 |
$totalsLastWeekSectors .= empty($totalsLastWeekSectors) ? "{$record['total']}" : ", {$record['total']}";
|
|
|
88 |
$valuesLastWeekSectors .= empty($valuesLastWeekSectors) ? "{$record['value']}" : ", {$record['value']}";
|
|
|
89 |
}
|
|
|
90 |
}
|
|
|
91 |
|
|
|
92 |
$labelsLastWeekStudentTypes = '';
|
|
|
93 |
$totalsLastWeekStudentTypes = '';
|
|
|
94 |
$valuesLastWeekStudentTypes = '';
|
|
|
95 |
if(!empty($reportsLastWeek['student_types'])) {
|
|
|
96 |
foreach($reportsLastWeek['student_types'] as $record) {
|
|
|
97 |
|
|
|
98 |
$labelsLastWeekStudentTypes .= empty($labelsLastWeekStudentTypes) ? "'{$record['name']}'" : ", '{$record['name']}'";
|
|
|
99 |
$totalsLastWeekStudentTypes .= empty($totalsLastWeekStudentTypes) ? "{$record['total']}" : ", {$record['total']}";
|
|
|
100 |
$valuesLastWeekStudentTypes .= empty($valuesLastWeekStudentTypes) ? "{$record['value']}" : ", {$record['value']}";
|
|
|
101 |
}
|
|
|
102 |
}
|
|
|
103 |
|
|
|
104 |
|
|
|
105 |
$labelsCapsuleResumeCompanies = '';
|
|
|
106 |
$totalsCapsuleResumeCompanies = '';
|
|
|
107 |
$valuesCapsuleResumeCompanies = '';
|
|
|
108 |
if(!empty($reportsCapsuleResume['companies'])) {
|
|
|
109 |
foreach($reportsCapsuleResume['companies'] as $record) {
|
|
|
110 |
|
|
|
111 |
$labelsCapsuleResumeCompanies .= empty($labelsCapsuleResumeCompanies) ? "'{$record['name']}'" : ", '{$record['name']}'";
|
|
|
112 |
$totalsCapsuleResumeCompanies .= empty($totalsCapsuleResumeCompanies) ? "{$record['total']}" : ", {$record['total']}";
|
|
|
113 |
$valuesCapsuleResumeCompanies .= empty($valuesCapsuleResumeCompanies) ? "{$record['value']}" : ", {$record['value']}";
|
|
|
114 |
}
|
|
|
115 |
}
|
|
|
116 |
|
|
|
117 |
$labelsCapsuleResumeFunctions = '';
|
|
|
118 |
$totalsCapsuleResumeFunctions = '';
|
|
|
119 |
$valuesCapsuleResumeFunctions = '';
|
|
|
120 |
if(!empty($reportsCapsuleResume['functions'])) {
|
|
|
121 |
foreach($reportsCapsuleResume['functions'] as $record) {
|
|
|
122 |
|
|
|
123 |
$labelsCapsuleResumeFunctions .= empty($labelsCapsuleResumeFunctions) ? "'{$record['name']}'" : ", '{$record['name']}'";
|
|
|
124 |
$totalsCapsuleResumeFunctions .= empty($totalsCapsuleResumeFunctions) ? "{$record['total']}" : ", {$record['total']}";
|
|
|
125 |
$valuesCapsuleResumeFunctions .= empty($valuesCapsuleResumeFunctions) ? "{$record['value']}" : ", {$record['value']}";
|
|
|
126 |
}
|
|
|
127 |
}
|
|
|
128 |
|
|
|
129 |
$labelsCapsuleResumeInstitutions = '';
|
|
|
130 |
$totalsCapsuleResumeInstitutions = '';
|
|
|
131 |
$valuesCapsuleResumeInstitutions = '';
|
|
|
132 |
if(!empty($reportsCapsuleResume['institutions'])) {
|
|
|
133 |
foreach($reportsCapsuleResume['institutions'] as $record) {
|
|
|
134 |
|
|
|
135 |
$labelsCapsuleResumeInstitutions .= empty($labelsCapsuleResumeInstitutions) ? "'{$record['name']}'" : ", '{$record['name']}'";
|
|
|
136 |
$totalsCapsuleResumeInstitutions .= empty($totalsCapsuleResumeInstitutions) ? "{$record['total']}" : ", {$record['total']}";
|
|
|
137 |
$valuesCapsuleResumeInstitutions .= empty($valuesCapsuleResumeInstitutions) ? "{$record['value']}" : ", {$record['value']}";
|
|
|
138 |
}
|
|
|
139 |
}
|
|
|
140 |
|
|
|
141 |
$labelsCapsuleResumeGroups = '';
|
|
|
142 |
$totalsCapsuleResumeGroups = '';
|
|
|
143 |
$valuesCapsuleResumeGroups = '';
|
|
|
144 |
if(!empty($reportsCapsuleResume['groups'])) {
|
|
|
145 |
foreach($reportsCapsuleResume['groups'] as $record) {
|
|
|
146 |
|
|
|
147 |
$labelsCapsuleResumeGroups .= empty($labelsCapsuleResumeGroups) ? "'{$record['name']}'" : ", '{$record['name']}'";
|
|
|
148 |
$totalsCapsuleResumeGroups .= empty($totalsCapsuleResumeGroups) ? "{$record['total']}" : ", {$record['total']}";
|
|
|
149 |
$valuesCapsuleResumeGroups .= empty($valuesCapsuleResumeGroups) ? "{$record['value']}" : ", {$record['value']}";
|
|
|
150 |
}
|
|
|
151 |
}
|
|
|
152 |
|
|
|
153 |
$labelsCapsuleResumePrograms = '';
|
|
|
154 |
$totalsCapsuleResumePrograms = '';
|
|
|
155 |
$valuesCapsuleResumePrograms = '';
|
|
|
156 |
if(!empty($reportsCapsuleResume['programs'])) {
|
|
|
157 |
foreach($reportsCapsuleResume['programs'] as $record) {
|
|
|
158 |
|
|
|
159 |
$labelsCapsuleResumePrograms .= empty($labelsCapsuleResumePrograms) ? "'{$record['name']}'" : ", '{$record['name']}'";
|
|
|
160 |
$totalsCapsuleResumePrograms .= empty($totalsCapsuleResumePrograms) ? "{$record['total']}" : ", {$record['total']}";
|
|
|
161 |
$valuesCapsuleResumePrograms .= empty($valuesCapsuleResumePrograms) ? "{$record['value']}" : ", {$record['value']}";
|
|
|
162 |
}
|
|
|
163 |
}
|
|
|
164 |
|
|
|
165 |
$labelsCapsuleResumePartners = '';
|
|
|
166 |
$totalsCapsuleResumePartners = '';
|
|
|
167 |
$valuesCapsuleResumePartners = '';
|
|
|
168 |
if(!empty($reportsCapsuleResume['partners'])) {
|
|
|
169 |
foreach($reportsCapsuleResume['partners'] as $record) {
|
|
|
170 |
|
|
|
171 |
$labelsCapsuleResumePartners .= empty($labelsCapsuleResumePartners) ? "'{$record['name']}'" : ", '{$record['name']}'";
|
|
|
172 |
$totalsCapsuleResumePartners .= empty($totalsCapsuleResumePartners) ? "{$record['total']}" : ", {$record['total']}";
|
|
|
173 |
$valuesCapsuleResumePartners .= empty($valuesCapsuleResumePartners) ? "{$record['value']}" : ", {$record['value']}";
|
|
|
174 |
}
|
|
|
175 |
}
|
|
|
176 |
|
|
|
177 |
$labelsCapsuleResumeSectors = '';
|
|
|
178 |
$totalsCapsuleResumeSectors = '';
|
|
|
179 |
$valuesCapsuleResumeSectors = '';
|
|
|
180 |
if(!empty($reportsCapsuleResume['sectors'])) {
|
|
|
181 |
foreach($reportsCapsuleResume['sectors'] as $record) {
|
|
|
182 |
|
|
|
183 |
$labelsCapsuleResumeSectors .= empty($labelsCapsuleResumeSectors) ? "'{$record['name']}'" : ", '{$record['name']}'";
|
|
|
184 |
$totalsCapsuleResumeSectors .= empty($totalsCapsuleResumeSectors) ? "{$record['total']}" : ", {$record['total']}";
|
|
|
185 |
$valuesCapsuleResumeSectors .= empty($valuesCapsuleResumeSectors) ? "{$record['value']}" : ", {$record['value']}";
|
|
|
186 |
}
|
|
|
187 |
}
|
|
|
188 |
|
|
|
189 |
$labelsCapsuleResumeStudentTypes = '';
|
|
|
190 |
$totalsCapsuleResumeStudentTypes = '';
|
|
|
191 |
$valuesCapsuleResumeStudentTypes = '';
|
|
|
192 |
if(!empty($reportsCapsuleResume['student_types'])) {
|
|
|
193 |
foreach($reportsCapsuleResume['student_types'] as $record) {
|
|
|
194 |
|
|
|
195 |
$labelsCapsuleResumeStudentTypes .= empty($labelsCapsuleResumeStudentTypes) ? "'{$record['name']}'" : ", '{$record['name']}'";
|
|
|
196 |
$totalsCapsuleResumeStudentTypes .= empty($totalsCapsuleResumeStudentTypes) ? "{$record['total']}" : ", {$record['total']}";
|
|
|
197 |
$valuesCapsuleResumeStudentTypes .= empty($valuesCapsuleResumeStudentTypes) ? "{$record['value']}" : ", {$record['value']}";
|
|
|
198 |
}
|
|
|
199 |
}
|
|
|
200 |
|
|
|
201 |
$labelsTotalCompanies = '';
|
|
|
202 |
$totalsTotalCompanies = '';
|
|
|
203 |
if(!empty($reportsStudentsTotal['companies'])) {
|
|
|
204 |
foreach($reportsStudentsTotal['companies'] as $record) {
|
|
|
205 |
|
|
|
206 |
$labelsTotalCompanies .= empty($labelsTotalCompanies) ? "'{$record['name']}'" : ", '{$record['name']}'";
|
|
|
207 |
$totalsTotalCompanies .= empty($totalsTotalCompanies) ? "{$record['total']}" : ", {$record['total']}";
|
|
|
208 |
|
|
|
209 |
}
|
|
|
210 |
}
|
|
|
211 |
|
|
|
212 |
$labelsTotalFunctions = '';
|
|
|
213 |
$totalsTotalFunctions = '';
|
|
|
214 |
if(!empty($reportsStudentsTotal['functions'])) {
|
|
|
215 |
foreach($reportsStudentsTotal['functions'] as $record) {
|
|
|
216 |
|
|
|
217 |
$labelsTotalFunctions .= empty($labelsTotalFunctions) ? "'{$record['name']}'" : ", '{$record['name']}'";
|
|
|
218 |
$totalsTotalFunctions .= empty($totalsTotalFunctions) ? "{$record['total']}" : ", {$record['total']}";
|
|
|
219 |
}
|
|
|
220 |
}
|
|
|
221 |
|
|
|
222 |
$labelsTotalInstitutions = '';
|
|
|
223 |
$totalsTotalInstitutions = '';
|
|
|
224 |
if(!empty($reportsStudentsTotal['institutions'])) {
|
|
|
225 |
foreach($reportsStudentsTotal['institutions'] as $record) {
|
|
|
226 |
|
|
|
227 |
$labelsTotalInstitutions .= empty($labelsTotalInstitutions) ? "'{$record['name']}'" : ", '{$record['name']}'";
|
|
|
228 |
$totalsTotalInstitutions .= empty($totalsTotalInstitutions) ? "{$record['total']}" : ", {$record['total']}";
|
|
|
229 |
}
|
|
|
230 |
}
|
|
|
231 |
|
|
|
232 |
$labelsTotalGroups = '';
|
|
|
233 |
$totalsTotalGroups = '';
|
|
|
234 |
if(!empty($reportsStudentsTotal['groups'])) {
|
|
|
235 |
foreach($reportsStudentsTotal['groups'] as $record) {
|
|
|
236 |
|
|
|
237 |
$labelsTotalGroups .= empty($labelsTotalGroups) ? "'{$record['name']}'" : ", '{$record['name']}'";
|
|
|
238 |
$totalsTotalGroups .= empty($totalsTotalGroups) ? "{$record['total']}" : ", {$record['total']}";
|
|
|
239 |
}
|
|
|
240 |
}
|
|
|
241 |
|
|
|
242 |
$labelsTotalPrograms = '';
|
|
|
243 |
$totalsTotalPrograms = '';
|
|
|
244 |
if(!empty($reportsStudentsTotal['programs'])) {
|
|
|
245 |
foreach($reportsStudentsTotal['programs'] as $record) {
|
|
|
246 |
|
|
|
247 |
$labelsTotalPrograms .= empty($labelsTotalPrograms) ? "'{$record['name']}'" : ", '{$record['name']}'";
|
|
|
248 |
$totalsTotalPrograms .= empty($totalsTotalPrograms) ? "{$record['total']}" : ", {$record['total']}";
|
|
|
249 |
}
|
|
|
250 |
}
|
|
|
251 |
|
|
|
252 |
$labelsTotalPartners = '';
|
|
|
253 |
$totalsTotalPartners = '';
|
|
|
254 |
if(!empty($reportsStudentsTotal['partners'])) {
|
|
|
255 |
foreach($reportsStudentsTotal['partners'] as $record) {
|
|
|
256 |
|
|
|
257 |
$labelsTotalPartners .= empty($labelsTotalPartners) ? "'{$record['name']}'" : ", '{$record['name']}'";
|
|
|
258 |
$totalsTotalPartners .= empty($totalsTotalPartners) ? "{$record['total']}" : ", {$record['total']}";
|
|
|
259 |
}
|
|
|
260 |
}
|
|
|
261 |
|
|
|
262 |
$labelsTotalSectors = '';
|
|
|
263 |
$totalsTotalSectors = '';
|
|
|
264 |
if(!empty($reportsStudentsTotal['sectors'])) {
|
|
|
265 |
foreach($reportsStudentsTotal['sectors'] as $record) {
|
|
|
266 |
|
|
|
267 |
$labelsTotalSectors .= empty($labelsTotalSectors) ? "'{$record['name']}'" : ", '{$record['name']}'";
|
|
|
268 |
$totalsTotalSectors .= empty($totalsTotalSectors) ? "{$record['total']}" : ", {$record['total']}";
|
|
|
269 |
}
|
|
|
270 |
}
|
|
|
271 |
|
|
|
272 |
$labelsTotalStudentTypes = '';
|
|
|
273 |
$totalsTotalStudentTypes = '';
|
|
|
274 |
if(!empty($reportsStudentsTotal['student_types'])) {
|
|
|
275 |
foreach($reportsStudentsTotal['student_types'] as $record) {
|
|
|
276 |
|
|
|
277 |
$labelsTotalStudentTypes .= empty($labelsTotalStudentTypes) ? "'{$record['name']}'" : ", '{$record['name']}'";
|
|
|
278 |
$totalsTotalStudentTypes .= empty($totalsTotalStudentTypes) ? "{$record['total']}" : ", {$record['total']}";
|
|
|
279 |
}
|
|
|
280 |
}
|
|
|
281 |
|
|
|
282 |
|
|
|
283 |
|
|
|
284 |
$this->inlineScript()->captureStart();
|
|
|
285 |
echo <<<JS
|
|
|
286 |
jQuery( document ).ready(function( $ ) {
|
|
|
287 |
const DISPLAY = true;
|
|
|
288 |
const BORDER = true;
|
|
|
289 |
const CHART_AREA = true;
|
|
|
290 |
const TICKS = true;
|
|
|
291 |
|
15153 |
efrain |
292 |
const bgColors = [
|
|
|
293 |
'#CFE7FB',
|
|
|
294 |
'#F9D76F',
|
|
|
295 |
'#B9D566',
|
|
|
296 |
'#FFBB90',
|
|
|
297 |
'#66BBBB',
|
|
|
298 |
'#E69090',
|
|
|
299 |
'#BB90BB',
|
|
|
300 |
'#9AB67C',
|
|
|
301 |
'#D1CC66',
|
|
|
302 |
'#AFD8F8',
|
|
|
303 |
'#F6BD0F',
|
|
|
304 |
'#8BBA00',
|
|
|
305 |
'#FF8E46',
|
|
|
306 |
'#008E8E',
|
|
|
307 |
'#D64646',
|
|
|
308 |
'#8E468E',
|
|
|
309 |
'#588526',
|
|
|
310 |
'#B3AA00',
|
|
|
311 |
'#008ED6',
|
|
|
312 |
'#9D080D',
|
|
|
313 |
'#A186BE'
|
|
|
314 |
];
|
1 |
www |
315 |
|
|
|
316 |
function transparentize(value, opacity) {
|
|
|
317 |
var alpha = opacity === undefined ? 0.5 : 1 - opacity;
|
|
|
318 |
return colorLib(value).alpha(alpha).rgbString();
|
|
|
319 |
}
|
|
|
320 |
|
|
|
321 |
/****** START STUDENTS ***/
|
|
|
322 |
|
|
|
323 |
var areaChartData = {
|
|
|
324 |
labels : ['LABEL_GRAPH_STUDENTS_TOTAL', 'LABEL_GRAPH_STUDENTS_STARTED', 'LABEL_GRAPH_STUDENTS_WITHOUT_STARTED'],
|
|
|
325 |
datasets: [
|
|
|
326 |
{
|
|
|
327 |
label : '',
|
15359 |
efrain |
328 |
backgroundColor : bgColors,
|
1 |
www |
329 |
pointRadius : true,
|
|
|
330 |
data : [ {$reportStudents['total']},{$reportStudents['started']},{$reportStudents['withoutStarting']} ]
|
|
|
331 |
},
|
|
|
332 |
]
|
|
|
333 |
|
|
|
334 |
}
|
|
|
335 |
|
|
|
336 |
var barChartCanvas = $('#barChartStudents').get(0).getContext('2d')
|
|
|
337 |
var barChartData = $.extend(true, {}, areaChartData)
|
|
|
338 |
var temp0 = areaChartData.datasets[0]
|
|
|
339 |
barChartData.datasets[0] = temp0
|
|
|
340 |
|
|
|
341 |
|
|
|
342 |
var barChartOptions = {
|
|
|
343 |
responsive : true,
|
|
|
344 |
maintainAspectRatio : false,
|
|
|
345 |
datasetFill : false,
|
|
|
346 |
plugins: {
|
|
|
347 |
legend: {
|
|
|
348 |
display: false,
|
|
|
349 |
} ,
|
|
|
350 |
datalabels: {
|
|
|
351 |
color: 'white',
|
|
|
352 |
labels: {
|
|
|
353 |
title: {
|
|
|
354 |
font: {
|
|
|
355 |
weight: 'bold',
|
|
|
356 |
}
|
|
|
357 |
},
|
|
|
358 |
}
|
|
|
359 |
},
|
|
|
360 |
tooltips: {
|
|
|
361 |
enabled: false,
|
|
|
362 |
},
|
|
|
363 |
|
|
|
364 |
}
|
|
|
365 |
}
|
|
|
366 |
|
|
|
367 |
new Chart(barChartCanvas, {
|
|
|
368 |
plugins: [ChartDataLabels],
|
|
|
369 |
type: 'bar',
|
|
|
370 |
|
|
|
371 |
data: barChartData,
|
|
|
372 |
options: barChartOptions
|
|
|
373 |
|
|
|
374 |
})
|
|
|
375 |
|
|
|
376 |
/****** END STUDENTS ***/
|
|
|
377 |
|
|
|
378 |
/****** LASTWEEK GENERAL ***/
|
|
|
379 |
|
|
|
380 |
var areaChartData = {
|
|
|
381 |
labels : ['LABEL_GRAPH_STUDENTS_LAST_WEEK_VALUES', 'LABEL_GRAPH_STUDENTS_TOTALS' ],
|
|
|
382 |
datasets: [
|
|
|
383 |
{
|
|
|
384 |
label : '',
|
15153 |
efrain |
385 |
backgroundColor : bgColors,
|
1 |
www |
386 |
pointRadius : true,
|
|
|
387 |
data : [{$reportsLastWeek['general'][ 'value']}, {$reportsLastWeek['general'][ 'total']} ]
|
|
|
388 |
},
|
|
|
389 |
]
|
|
|
390 |
|
|
|
391 |
}
|
|
|
392 |
|
|
|
393 |
var barChartCanvas = $('#barChartLastWeekGeneral').get(0).getContext('2d')
|
|
|
394 |
var barChartData = $.extend(true, {}, areaChartData)
|
|
|
395 |
var temp0 = areaChartData.datasets[0]
|
|
|
396 |
barChartData.datasets[0] = temp0
|
|
|
397 |
|
|
|
398 |
|
|
|
399 |
var barChartOptions = {
|
|
|
400 |
responsive : true,
|
|
|
401 |
maintainAspectRatio : false,
|
|
|
402 |
datasetFill : false,
|
|
|
403 |
plugins: {
|
|
|
404 |
legend: {
|
|
|
405 |
display: true,
|
|
|
406 |
position: 'top',
|
|
|
407 |
} ,
|
|
|
408 |
datalabels: {
|
|
|
409 |
color: 'white',
|
|
|
410 |
labels: {
|
|
|
411 |
title: {
|
|
|
412 |
font: {
|
|
|
413 |
weight: 'bold',
|
|
|
414 |
}
|
|
|
415 |
},
|
|
|
416 |
}
|
|
|
417 |
},
|
|
|
418 |
tooltips: {
|
|
|
419 |
enabled: false,
|
|
|
420 |
},
|
|
|
421 |
|
|
|
422 |
}
|
|
|
423 |
}
|
|
|
424 |
|
|
|
425 |
new Chart(barChartCanvas, {
|
|
|
426 |
plugins: [ChartDataLabels],
|
|
|
427 |
type: 'doughnut',
|
|
|
428 |
|
|
|
429 |
data: barChartData,
|
|
|
430 |
options: barChartOptions
|
|
|
431 |
|
|
|
432 |
})
|
|
|
433 |
|
|
|
434 |
/****** END STUDENTS ***/
|
|
|
435 |
|
|
|
436 |
/****** START LAST WEEK COMPANIES ***/
|
|
|
437 |
if($('#barChartLastWeekCompanies').length > 0) {
|
|
|
438 |
var areaChartData = {
|
|
|
439 |
labels : [$labelsLastWeekCompanies],
|
|
|
440 |
datasets: [
|
|
|
441 |
{
|
|
|
442 |
label : 'LABEL_GRAPH_STUDENTS_TOTALS',
|
16910 |
efrain |
443 |
borderColor: bgColors.red,
|
|
|
444 |
backgroundColor: bgColors.blue,
|
1 |
www |
445 |
borderWidth: 1,
|
|
|
446 |
data : [ $totalsLastWeekCompanies ]
|
|
|
447 |
},
|
|
|
448 |
{
|
|
|
449 |
label : 'LABEL_GRAPH_STUDENTS_LAST_WEEK_VALUES',
|
16910 |
efrain |
450 |
borderColor: bgColors.blue,
|
|
|
451 |
backgroundColor: bgColors.red,
|
1 |
www |
452 |
borderWidth: 1,
|
|
|
453 |
data : [ $valuesLastWeekCompanies ]
|
|
|
454 |
},
|
|
|
455 |
]
|
|
|
456 |
|
|
|
457 |
}
|
|
|
458 |
|
|
|
459 |
var barChartCanvas = $('#barChartLastWeekCompanies').get(0).getContext('2d')
|
|
|
460 |
var barChartData = $.extend(true, {}, areaChartData)
|
|
|
461 |
var temp0 = areaChartData.datasets[0]
|
|
|
462 |
var temp1 = areaChartData.datasets[1]
|
|
|
463 |
barChartData.datasets[0] = temp1
|
|
|
464 |
barChartData.datasets[1] = temp0
|
|
|
465 |
|
|
|
466 |
|
|
|
467 |
var barChartOptions = {
|
|
|
468 |
responsive : true,
|
|
|
469 |
indexAxis : 'y',
|
|
|
470 |
maintainAspectRatio : false,
|
|
|
471 |
datasetFill : false,
|
|
|
472 |
plugins: {
|
|
|
473 |
datalabels: {
|
|
|
474 |
color: 'white',
|
|
|
475 |
labels: {
|
|
|
476 |
title: {
|
|
|
477 |
font: {
|
|
|
478 |
weight: 'bold',
|
|
|
479 |
}
|
|
|
480 |
},
|
|
|
481 |
}
|
|
|
482 |
},
|
|
|
483 |
tooltips: {
|
|
|
484 |
enabled: false,
|
|
|
485 |
},
|
|
|
486 |
|
|
|
487 |
|
|
|
488 |
},
|
|
|
489 |
}
|
|
|
490 |
|
|
|
491 |
new Chart(barChartCanvas, {
|
|
|
492 |
plugins: [ChartDataLabels],
|
|
|
493 |
type: 'bar',
|
|
|
494 |
|
|
|
495 |
data: barChartData,
|
|
|
496 |
options: barChartOptions
|
|
|
497 |
|
|
|
498 |
});
|
|
|
499 |
}
|
|
|
500 |
|
|
|
501 |
/****** END COMPANIES ***/
|
|
|
502 |
|
|
|
503 |
|
|
|
504 |
/****** START LAST WEEK FUNCTIONS ***/
|
|
|
505 |
if($('#barChartLastWeekFunctions').length > 0) {
|
|
|
506 |
var areaChartData = {
|
|
|
507 |
labels : [$labelsLastWeekFunctions],
|
|
|
508 |
datasets: [
|
|
|
509 |
{
|
|
|
510 |
label : 'LABEL_GRAPH_STUDENTS_TOTALS',
|
16910 |
efrain |
511 |
borderColor: bgColors.red,
|
|
|
512 |
backgroundColor: bgColors.blue,
|
1 |
www |
513 |
borderWidth: 1,
|
|
|
514 |
data : [ $totalsLastWeekFunctions ]
|
|
|
515 |
},
|
|
|
516 |
{
|
|
|
517 |
label : 'LABEL_GRAPH_STUDENTS_LAST_WEEK_VALUES',
|
16910 |
efrain |
518 |
borderColor: bgColors.blue,
|
|
|
519 |
backgroundColor: bgColors.red,
|
1 |
www |
520 |
borderWidth: 1,
|
|
|
521 |
data : [ $valuesLastWeekFunctions ]
|
|
|
522 |
},
|
|
|
523 |
]
|
|
|
524 |
|
|
|
525 |
}
|
|
|
526 |
|
|
|
527 |
var barChartCanvas = $('#barChartLastWeekFunctions').get(0).getContext('2d')
|
|
|
528 |
var barChartData = $.extend(true, {}, areaChartData)
|
|
|
529 |
var temp0 = areaChartData.datasets[0]
|
|
|
530 |
var temp1 = areaChartData.datasets[1]
|
|
|
531 |
barChartData.datasets[0] = temp1
|
|
|
532 |
barChartData.datasets[1] = temp0
|
|
|
533 |
|
|
|
534 |
|
|
|
535 |
var barChartOptions = {
|
|
|
536 |
responsive : true,
|
|
|
537 |
indexAxis : 'y',
|
|
|
538 |
maintainAspectRatio : false,
|
|
|
539 |
datasetFill : false,
|
|
|
540 |
plugins: {
|
|
|
541 |
datalabels: {
|
|
|
542 |
color: 'white',
|
|
|
543 |
labels: {
|
|
|
544 |
title: {
|
|
|
545 |
font: {
|
|
|
546 |
weight: 'bold',
|
|
|
547 |
}
|
|
|
548 |
},
|
|
|
549 |
}
|
|
|
550 |
},
|
|
|
551 |
tooltips: {
|
|
|
552 |
enabled: false,
|
|
|
553 |
},
|
|
|
554 |
|
|
|
555 |
|
|
|
556 |
},
|
|
|
557 |
}
|
|
|
558 |
|
|
|
559 |
new Chart(barChartCanvas, {
|
|
|
560 |
plugins: [ChartDataLabels],
|
|
|
561 |
type: 'bar',
|
|
|
562 |
|
|
|
563 |
data: barChartData,
|
|
|
564 |
options: barChartOptions
|
|
|
565 |
|
|
|
566 |
});
|
|
|
567 |
}
|
|
|
568 |
/****** END FUNCTIONS ***/
|
|
|
569 |
|
|
|
570 |
/****** START LAST WEEK GROUPS ***/
|
|
|
571 |
if($('#barChartLastWeekGroups').length > 0) {
|
|
|
572 |
var areaChartData = {
|
|
|
573 |
labels : [$labelsLastWeekGroups],
|
|
|
574 |
datasets: [
|
|
|
575 |
{
|
|
|
576 |
label : 'LABEL_GRAPH_STUDENTS_TOTALS',
|
16910 |
efrain |
577 |
borderColor: bgColors.red,
|
|
|
578 |
backgroundColor: bgColors.blue,
|
1 |
www |
579 |
borderWidth: 1,
|
|
|
580 |
data : [ $totalsLastWeekGroups ]
|
|
|
581 |
},
|
|
|
582 |
{
|
|
|
583 |
label : 'LABEL_GRAPH_STUDENTS_LAST_WEEK_VALUES',
|
16910 |
efrain |
584 |
borderColor: bgColors.blue,
|
|
|
585 |
backgroundColor: bgColors.red,
|
1 |
www |
586 |
borderWidth: 1,
|
|
|
587 |
data : [ $valuesLastWeekGroups ]
|
|
|
588 |
},
|
|
|
589 |
]
|
|
|
590 |
|
|
|
591 |
}
|
|
|
592 |
|
|
|
593 |
var barChartCanvas = $('#barChartLastWeekGroups').get(0).getContext('2d')
|
|
|
594 |
var barChartData = $.extend(true, {}, areaChartData)
|
|
|
595 |
var temp0 = areaChartData.datasets[0]
|
|
|
596 |
var temp1 = areaChartData.datasets[1]
|
|
|
597 |
barChartData.datasets[0] = temp1
|
|
|
598 |
barChartData.datasets[1] = temp0
|
|
|
599 |
|
|
|
600 |
|
|
|
601 |
var barChartOptions = {
|
|
|
602 |
responsive : true,
|
|
|
603 |
indexAxis : 'y',
|
|
|
604 |
maintainAspectRatio : false,
|
|
|
605 |
datasetFill : false,
|
|
|
606 |
plugins: {
|
|
|
607 |
datalabels: {
|
|
|
608 |
color: 'white',
|
|
|
609 |
labels: {
|
|
|
610 |
title: {
|
|
|
611 |
font: {
|
|
|
612 |
weight: 'bold',
|
|
|
613 |
}
|
|
|
614 |
},
|
|
|
615 |
}
|
|
|
616 |
},
|
|
|
617 |
tooltips: {
|
|
|
618 |
enabled: false,
|
|
|
619 |
},
|
|
|
620 |
|
|
|
621 |
|
|
|
622 |
},
|
|
|
623 |
}
|
|
|
624 |
|
|
|
625 |
new Chart(barChartCanvas, {
|
|
|
626 |
plugins: [ChartDataLabels],
|
|
|
627 |
type: 'bar',
|
|
|
628 |
|
|
|
629 |
data: barChartData,
|
|
|
630 |
options: barChartOptions
|
|
|
631 |
|
|
|
632 |
});
|
|
|
633 |
}
|
|
|
634 |
|
|
|
635 |
/****** END GROUPS ***/
|
|
|
636 |
|
|
|
637 |
|
|
|
638 |
/****** START LAST WEEK INSTITUTIONS ***/
|
|
|
639 |
if($('#barChartLastWeekInstitutions').length > 0) {
|
|
|
640 |
var areaChartData = {
|
|
|
641 |
labels : [$labelsLastWeekInstitutions],
|
|
|
642 |
datasets: [
|
|
|
643 |
{
|
|
|
644 |
label : 'LABEL_GRAPH_STUDENTS_TOTALS',
|
16910 |
efrain |
645 |
borderColor: bgColors.red,
|
|
|
646 |
backgroundColor: bgColors.blue,
|
1 |
www |
647 |
borderWidth: 1,
|
|
|
648 |
data : [ $totalsLastWeekInstitutions ]
|
|
|
649 |
},
|
|
|
650 |
{
|
|
|
651 |
label : 'LABEL_GRAPH_STUDENTS_LAST_WEEK_VALUES',
|
16910 |
efrain |
652 |
borderColor: bgColors.blue,
|
|
|
653 |
backgroundColor: bgColors.red,
|
1 |
www |
654 |
borderWidth: 1,
|
|
|
655 |
data : [ $valuesLastWeekInstitutions ]
|
|
|
656 |
},
|
|
|
657 |
]
|
|
|
658 |
|
|
|
659 |
}
|
|
|
660 |
|
|
|
661 |
var barChartCanvas = $('#barChartLastWeekInstitutions').get(0).getContext('2d')
|
|
|
662 |
var barChartData = $.extend(true, {}, areaChartData)
|
|
|
663 |
var temp0 = areaChartData.datasets[0]
|
|
|
664 |
var temp1 = areaChartData.datasets[1]
|
|
|
665 |
barChartData.datasets[0] = temp1
|
|
|
666 |
barChartData.datasets[1] = temp0
|
|
|
667 |
|
|
|
668 |
|
|
|
669 |
var barChartOptions = {
|
|
|
670 |
responsive : true,
|
|
|
671 |
indexAxis : 'y',
|
|
|
672 |
maintainAspectRatio : false,
|
|
|
673 |
datasetFill : false,
|
|
|
674 |
plugins: {
|
|
|
675 |
datalabels: {
|
|
|
676 |
color: 'white',
|
|
|
677 |
labels: {
|
|
|
678 |
title: {
|
|
|
679 |
font: {
|
|
|
680 |
weight: 'bold',
|
|
|
681 |
}
|
|
|
682 |
},
|
|
|
683 |
}
|
|
|
684 |
},
|
|
|
685 |
tooltips: {
|
|
|
686 |
enabled: false,
|
|
|
687 |
},
|
|
|
688 |
|
|
|
689 |
|
|
|
690 |
},
|
|
|
691 |
}
|
|
|
692 |
|
|
|
693 |
new Chart(barChartCanvas, {
|
|
|
694 |
plugins: [ChartDataLabels],
|
|
|
695 |
type: 'bar',
|
|
|
696 |
|
|
|
697 |
data: barChartData,
|
|
|
698 |
options: barChartOptions
|
|
|
699 |
|
|
|
700 |
});
|
|
|
701 |
}
|
|
|
702 |
|
|
|
703 |
/****** END INSTITUTIONS ***/
|
|
|
704 |
|
|
|
705 |
|
|
|
706 |
/****** START LAST WEEK PROGRAMS ***/
|
|
|
707 |
if($('#barChartLastWeekPrograms').length > 0) {
|
|
|
708 |
var areaChartData = {
|
|
|
709 |
labels : [$labelsLastWeekPrograms],
|
|
|
710 |
datasets: [
|
|
|
711 |
{
|
|
|
712 |
label : 'LABEL_GRAPH_STUDENTS_TOTALS',
|
16910 |
efrain |
713 |
borderColor: bgColors.red,
|
|
|
714 |
backgroundColor: bgColors.blue,
|
1 |
www |
715 |
borderWidth: 1,
|
|
|
716 |
data : [ $totalsLastWeekPrograms ]
|
|
|
717 |
},
|
|
|
718 |
{
|
|
|
719 |
label : 'LABEL_GRAPH_STUDENTS_LAST_WEEK_VALUES',
|
16910 |
efrain |
720 |
borderColor: bgColors.blue,
|
|
|
721 |
backgroundColor: bgColors.red,
|
1 |
www |
722 |
borderWidth: 1,
|
|
|
723 |
data : [ $valuesLastWeekPrograms ]
|
|
|
724 |
},
|
|
|
725 |
]
|
|
|
726 |
|
|
|
727 |
}
|
|
|
728 |
|
|
|
729 |
var barChartCanvas = $('#barChartLastWeekPrograms').get(0).getContext('2d')
|
|
|
730 |
var barChartData = $.extend(true, {}, areaChartData)
|
|
|
731 |
var temp0 = areaChartData.datasets[0]
|
|
|
732 |
var temp1 = areaChartData.datasets[1]
|
|
|
733 |
barChartData.datasets[0] = temp1
|
|
|
734 |
barChartData.datasets[1] = temp0
|
|
|
735 |
|
|
|
736 |
|
|
|
737 |
var barChartOptions = {
|
|
|
738 |
responsive : true,
|
|
|
739 |
indexAxis : 'y',
|
|
|
740 |
maintainAspectRatio : false,
|
|
|
741 |
datasetFill : false,
|
|
|
742 |
plugins: {
|
|
|
743 |
datalabels: {
|
|
|
744 |
color: 'white',
|
|
|
745 |
labels: {
|
|
|
746 |
title: {
|
|
|
747 |
font: {
|
|
|
748 |
weight: 'bold',
|
|
|
749 |
}
|
|
|
750 |
},
|
|
|
751 |
}
|
|
|
752 |
},
|
|
|
753 |
tooltips: {
|
|
|
754 |
enabled: false,
|
|
|
755 |
},
|
|
|
756 |
|
|
|
757 |
|
|
|
758 |
},
|
|
|
759 |
}
|
|
|
760 |
|
|
|
761 |
new Chart(barChartCanvas, {
|
|
|
762 |
plugins: [ChartDataLabels],
|
|
|
763 |
type: 'bar',
|
|
|
764 |
|
|
|
765 |
data: barChartData,
|
|
|
766 |
options: barChartOptions
|
|
|
767 |
|
|
|
768 |
});
|
|
|
769 |
}
|
|
|
770 |
|
|
|
771 |
/****** END PROGRAMS ***/
|
|
|
772 |
|
|
|
773 |
/****** START LAST WEEK PARTNERS ***/
|
|
|
774 |
if ($('#barChartLastWeekPartners').length > 0) {
|
|
|
775 |
|
|
|
776 |
var areaChartData = {
|
|
|
777 |
labels : [$labelsLastWeekPartners],
|
|
|
778 |
datasets: [
|
|
|
779 |
{
|
|
|
780 |
label : 'LABEL_GRAPH_STUDENTS_TOTALS',
|
16910 |
efrain |
781 |
borderColor: bgColors.red,
|
|
|
782 |
backgroundColor: bgColors.blue,
|
1 |
www |
783 |
borderWidth: 1,
|
|
|
784 |
data : [ $totalsLastWeekPartners ]
|
|
|
785 |
},
|
|
|
786 |
{
|
|
|
787 |
label : 'LABEL_GRAPH_STUDENTS_LAST_WEEK_VALUES',
|
16910 |
efrain |
788 |
borderColor: bgColors.blue,
|
|
|
789 |
backgroundColor: bgColors.red,
|
1 |
www |
790 |
borderWidth: 1,
|
|
|
791 |
data : [ $valuesLastWeekPartners ]
|
|
|
792 |
},
|
|
|
793 |
]
|
|
|
794 |
|
|
|
795 |
}
|
|
|
796 |
|
|
|
797 |
var barChartCanvas = $('#barChartLastWeekPartners').get(0).getContext('2d')
|
|
|
798 |
var barChartData = $.extend(true, {}, areaChartData)
|
|
|
799 |
var temp0 = areaChartData.datasets[0]
|
|
|
800 |
var temp1 = areaChartData.datasets[1]
|
|
|
801 |
barChartData.datasets[0] = temp1
|
|
|
802 |
barChartData.datasets[1] = temp0
|
|
|
803 |
|
|
|
804 |
|
|
|
805 |
var barChartOptions = {
|
|
|
806 |
responsive : true,
|
|
|
807 |
indexAxis : 'y',
|
|
|
808 |
maintainAspectRatio : false,
|
|
|
809 |
datasetFill : false,
|
|
|
810 |
plugins: {
|
|
|
811 |
datalabels: {
|
|
|
812 |
color: 'white',
|
|
|
813 |
labels: {
|
|
|
814 |
title: {
|
|
|
815 |
font: {
|
|
|
816 |
weight: 'bold',
|
|
|
817 |
}
|
|
|
818 |
},
|
|
|
819 |
}
|
|
|
820 |
},
|
|
|
821 |
tooltips: {
|
|
|
822 |
enabled: false,
|
|
|
823 |
},
|
|
|
824 |
|
|
|
825 |
|
|
|
826 |
},
|
|
|
827 |
}
|
|
|
828 |
|
|
|
829 |
new Chart(barChartCanvas, {
|
|
|
830 |
plugins: [ChartDataLabels],
|
|
|
831 |
type: 'bar',
|
|
|
832 |
|
|
|
833 |
data: barChartData,
|
|
|
834 |
options: barChartOptions
|
|
|
835 |
|
|
|
836 |
});
|
|
|
837 |
}
|
|
|
838 |
|
|
|
839 |
/****** END PARTNERS ***/
|
|
|
840 |
|
|
|
841 |
/****** START LAST WEEK SECTORS ***/
|
|
|
842 |
if($('#barChartLastWeekSectors').length > 0) {
|
|
|
843 |
|
|
|
844 |
var areaChartData = {
|
|
|
845 |
labels : [$labelsLastWeekSectors],
|
|
|
846 |
datasets: [
|
|
|
847 |
{
|
|
|
848 |
label : 'LABEL_GRAPH_STUDENTS_TOTALS',
|
16910 |
efrain |
849 |
borderColor: bgColors.red,
|
|
|
850 |
backgroundColor: bgColors.blue,
|
1 |
www |
851 |
borderWidth: 1,
|
|
|
852 |
data : [ $totalsLastWeekSectors ]
|
|
|
853 |
},
|
|
|
854 |
{
|
|
|
855 |
label : 'LABEL_GRAPH_STUDENTS_LAST_WEEK_VALUES',
|
16910 |
efrain |
856 |
borderColor: bgColors.blue,
|
|
|
857 |
backgroundColor: bgColors.red,
|
1 |
www |
858 |
borderWidth: 1,
|
|
|
859 |
data : [ $valuesLastWeekSectors ]
|
|
|
860 |
},
|
|
|
861 |
]
|
|
|
862 |
|
|
|
863 |
}
|
|
|
864 |
|
|
|
865 |
var barChartCanvas = $('#barChartLastWeekSectors').get(0).getContext('2d')
|
|
|
866 |
var barChartData = $.extend(true, {}, areaChartData)
|
|
|
867 |
var temp0 = areaChartData.datasets[0]
|
|
|
868 |
var temp1 = areaChartData.datasets[1]
|
|
|
869 |
barChartData.datasets[0] = temp1
|
|
|
870 |
barChartData.datasets[1] = temp0
|
|
|
871 |
|
|
|
872 |
|
|
|
873 |
var barChartOptions = {
|
|
|
874 |
responsive : true,
|
|
|
875 |
indexAxis : 'y',
|
|
|
876 |
maintainAspectRatio : false,
|
|
|
877 |
datasetFill : false,
|
|
|
878 |
plugins: {
|
|
|
879 |
datalabels: {
|
|
|
880 |
color: 'white',
|
|
|
881 |
labels: {
|
|
|
882 |
title: {
|
|
|
883 |
font: {
|
|
|
884 |
weight: 'bold',
|
|
|
885 |
}
|
|
|
886 |
},
|
|
|
887 |
}
|
|
|
888 |
},
|
|
|
889 |
tooltips: {
|
|
|
890 |
enabled: false,
|
|
|
891 |
},
|
|
|
892 |
|
|
|
893 |
|
|
|
894 |
},
|
|
|
895 |
}
|
|
|
896 |
|
|
|
897 |
new Chart(barChartCanvas, {
|
|
|
898 |
plugins: [ChartDataLabels],
|
|
|
899 |
type: 'bar',
|
|
|
900 |
|
|
|
901 |
data: barChartData,
|
|
|
902 |
options: barChartOptions
|
|
|
903 |
|
|
|
904 |
})
|
|
|
905 |
}
|
|
|
906 |
|
|
|
907 |
/****** END SECTORS ***/
|
|
|
908 |
|
|
|
909 |
/****** START LAST WEEK EXTEND TYPES ***/
|
|
|
910 |
if($('#barChartLastWeekStudentTypes').length > 0) {
|
|
|
911 |
|
|
|
912 |
var areaChartData = {
|
|
|
913 |
labels : [$labelsLastWeekStudentTypes],
|
|
|
914 |
datasets: [
|
|
|
915 |
{
|
|
|
916 |
label : 'LABEL_GRAPH_STUDENTS_TOTALS',
|
16910 |
efrain |
917 |
borderColor: bgColors.red,
|
|
|
918 |
backgroundColor: bgColors.blue,
|
1 |
www |
919 |
borderWidth: 1,
|
|
|
920 |
data : [ $totalsLastWeekStudentTypes ]
|
|
|
921 |
},
|
|
|
922 |
{
|
|
|
923 |
label : 'LABEL_GRAPH_STUDENTS_LAST_WEEK_VALUES',
|
16910 |
efrain |
924 |
borderColor: bgColors.blue,
|
|
|
925 |
backgroundColor: bgColors.red,
|
1 |
www |
926 |
borderWidth: 1,
|
|
|
927 |
data : [ $valuesLastWeekStudentTypes ]
|
|
|
928 |
},
|
|
|
929 |
]
|
|
|
930 |
|
|
|
931 |
}
|
|
|
932 |
|
|
|
933 |
var barChartCanvas = $('#barChartLastWeekStudentTypes').get(0).getContext('2d')
|
|
|
934 |
var barChartData = $.extend(true, {}, areaChartData)
|
|
|
935 |
var temp0 = areaChartData.datasets[0]
|
|
|
936 |
var temp1 = areaChartData.datasets[1]
|
|
|
937 |
barChartData.datasets[0] = temp1
|
|
|
938 |
barChartData.datasets[1] = temp0
|
|
|
939 |
|
|
|
940 |
|
|
|
941 |
var barChartOptions = {
|
|
|
942 |
responsive : true,
|
|
|
943 |
indexAxis : 'y',
|
|
|
944 |
maintainAspectRatio : false,
|
|
|
945 |
datasetFill : false,
|
|
|
946 |
plugins: {
|
|
|
947 |
datalabels: {
|
|
|
948 |
color: 'white',
|
|
|
949 |
labels: {
|
|
|
950 |
title: {
|
|
|
951 |
font: {
|
|
|
952 |
weight: 'bold',
|
|
|
953 |
}
|
|
|
954 |
},
|
|
|
955 |
}
|
|
|
956 |
},
|
|
|
957 |
tooltips: {
|
|
|
958 |
enabled: false,
|
|
|
959 |
},
|
|
|
960 |
|
|
|
961 |
|
|
|
962 |
},
|
|
|
963 |
}
|
|
|
964 |
|
|
|
965 |
new Chart(barChartCanvas, {
|
|
|
966 |
plugins: [ChartDataLabels],
|
|
|
967 |
type: 'bar',
|
|
|
968 |
|
|
|
969 |
data: barChartData,
|
|
|
970 |
options: barChartOptions
|
|
|
971 |
|
|
|
972 |
});
|
|
|
973 |
|
|
|
974 |
}
|
|
|
975 |
|
|
|
976 |
/****** END EXTEND TYPES ***/
|
|
|
977 |
|
|
|
978 |
|
|
|
979 |
/****** CAPSULE RESUME GENERAL ***/
|
|
|
980 |
|
|
|
981 |
var areaChartData = {
|
|
|
982 |
labels : ['LABEL_GRAPH_STUDENTS_RESULE_CAPSULE_VALUES', 'LABEL_GRAPH_STUDENTS_TOTALS' ],
|
|
|
983 |
datasets: [
|
|
|
984 |
{
|
|
|
985 |
label : '',
|
|
|
986 |
backgroundColor : [
|
16910 |
efrain |
987 |
bgColors.blue,
|
|
|
988 |
bgColors.red,
|
1 |
www |
989 |
|
|
|
990 |
],
|
|
|
991 |
pointRadius : true,
|
|
|
992 |
data : [{$reportsCapsuleResume['general'][ 'value']}, {$reportsCapsuleResume['general'][ 'total']} ]
|
|
|
993 |
},
|
|
|
994 |
]
|
|
|
995 |
|
|
|
996 |
}
|
|
|
997 |
|
|
|
998 |
var barChartCanvas = $('#barChartCapsuleResumeGeneral').get(0).getContext('2d')
|
|
|
999 |
var barChartData = $.extend(true, {}, areaChartData)
|
|
|
1000 |
var temp0 = areaChartData.datasets[0]
|
|
|
1001 |
barChartData.datasets[0] = temp0
|
|
|
1002 |
|
|
|
1003 |
|
|
|
1004 |
var barChartOptions = {
|
|
|
1005 |
responsive : true,
|
|
|
1006 |
maintainAspectRatio : false,
|
|
|
1007 |
datasetFill : false,
|
|
|
1008 |
plugins: {
|
|
|
1009 |
legend: {
|
|
|
1010 |
display: true,
|
|
|
1011 |
position: 'top',
|
|
|
1012 |
} ,
|
|
|
1013 |
datalabels: {
|
|
|
1014 |
color: 'white',
|
|
|
1015 |
labels: {
|
|
|
1016 |
title: {
|
|
|
1017 |
font: {
|
|
|
1018 |
weight: 'bold',
|
|
|
1019 |
}
|
|
|
1020 |
},
|
|
|
1021 |
}
|
|
|
1022 |
},
|
|
|
1023 |
tooltips: {
|
|
|
1024 |
enabled: false,
|
|
|
1025 |
},
|
|
|
1026 |
|
|
|
1027 |
}
|
|
|
1028 |
}
|
|
|
1029 |
|
|
|
1030 |
new Chart(barChartCanvas, {
|
|
|
1031 |
plugins: [ChartDataLabels],
|
|
|
1032 |
type: 'doughnut',
|
|
|
1033 |
|
|
|
1034 |
data: barChartData,
|
|
|
1035 |
options: barChartOptions
|
|
|
1036 |
|
|
|
1037 |
})
|
|
|
1038 |
|
|
|
1039 |
/****** END STUDENTS ***/
|
|
|
1040 |
|
|
|
1041 |
/****** START CAPSULE RESUME COMPANIES ***/
|
|
|
1042 |
if($('#barChartCapsuleResumeCompanies').length > 0) {
|
|
|
1043 |
var areaChartData = {
|
|
|
1044 |
labels : [$labelsCapsuleResumeCompanies],
|
|
|
1045 |
datasets: [
|
|
|
1046 |
{
|
|
|
1047 |
label : 'LABEL_GRAPH_STUDENTS_TOTALS',
|
16910 |
efrain |
1048 |
borderColor: bgColors.red,
|
|
|
1049 |
backgroundColor: bgColors.blue,
|
1 |
www |
1050 |
borderWidth: 1,
|
|
|
1051 |
data : [ $totalsCapsuleResumeCompanies ]
|
|
|
1052 |
},
|
|
|
1053 |
{
|
|
|
1054 |
label : 'LABEL_GRAPH_STUDENTS_RESULE_CAPSULE_VALUES',
|
16910 |
efrain |
1055 |
borderColor: bgColors.blue,
|
|
|
1056 |
backgroundColor: bgColors.red,
|
1 |
www |
1057 |
borderWidth: 1,
|
|
|
1058 |
data : [ $valuesCapsuleResumeCompanies ]
|
|
|
1059 |
},
|
|
|
1060 |
]
|
|
|
1061 |
|
|
|
1062 |
}
|
|
|
1063 |
|
|
|
1064 |
var barChartCanvas = $('#barChartCapsuleResumeCompanies').get(0).getContext('2d')
|
|
|
1065 |
var barChartData = $.extend(true, {}, areaChartData)
|
|
|
1066 |
var temp0 = areaChartData.datasets[0]
|
|
|
1067 |
var temp1 = areaChartData.datasets[1]
|
|
|
1068 |
barChartData.datasets[0] = temp1
|
|
|
1069 |
barChartData.datasets[1] = temp0
|
|
|
1070 |
|
|
|
1071 |
|
|
|
1072 |
var barChartOptions = {
|
|
|
1073 |
responsive : true,
|
|
|
1074 |
indexAxis : 'y',
|
|
|
1075 |
maintainAspectRatio : false,
|
|
|
1076 |
datasetFill : false,
|
|
|
1077 |
plugins: {
|
|
|
1078 |
datalabels: {
|
|
|
1079 |
color: 'white',
|
|
|
1080 |
labels: {
|
|
|
1081 |
title: {
|
|
|
1082 |
font: {
|
|
|
1083 |
weight: 'bold',
|
|
|
1084 |
}
|
|
|
1085 |
},
|
|
|
1086 |
}
|
|
|
1087 |
},
|
|
|
1088 |
tooltips: {
|
|
|
1089 |
enabled: false,
|
|
|
1090 |
},
|
|
|
1091 |
|
|
|
1092 |
|
|
|
1093 |
},
|
|
|
1094 |
}
|
|
|
1095 |
|
|
|
1096 |
new Chart(barChartCanvas, {
|
|
|
1097 |
plugins: [ChartDataLabels],
|
|
|
1098 |
type: 'bar',
|
|
|
1099 |
|
|
|
1100 |
data: barChartData,
|
|
|
1101 |
options: barChartOptions
|
|
|
1102 |
|
|
|
1103 |
});
|
|
|
1104 |
}
|
|
|
1105 |
|
|
|
1106 |
/****** END COMPANIES ***/
|
|
|
1107 |
|
|
|
1108 |
|
|
|
1109 |
/****** START CAPSULE RESUME FUNCTIONS ***/
|
|
|
1110 |
if($('#barChartCapsuleResumeFunctions').length > 0) {
|
|
|
1111 |
var areaChartData = {
|
|
|
1112 |
labels : [$labelsCapsuleResumeFunctions],
|
|
|
1113 |
datasets: [
|
|
|
1114 |
{
|
|
|
1115 |
label : 'LABEL_GRAPH_STUDENTS_TOTALS',
|
16910 |
efrain |
1116 |
borderColor: bgColors.red,
|
|
|
1117 |
backgroundColor: bgColors.blue,
|
1 |
www |
1118 |
borderWidth: 1,
|
|
|
1119 |
data : [ $totalsCapsuleResumeFunctions ]
|
|
|
1120 |
},
|
|
|
1121 |
{
|
|
|
1122 |
label : 'LABEL_GRAPH_STUDENTS_RESULE_CAPSULE_VALUES',
|
16910 |
efrain |
1123 |
borderColor: bgColors.blue,
|
|
|
1124 |
backgroundColor: bgColors.red,
|
1 |
www |
1125 |
borderWidth: 1,
|
|
|
1126 |
data : [ $valuesCapsuleResumeFunctions ]
|
|
|
1127 |
},
|
|
|
1128 |
]
|
|
|
1129 |
|
|
|
1130 |
}
|
|
|
1131 |
|
|
|
1132 |
var barChartCanvas = $('#barChartCapsuleResumeFunctions').get(0).getContext('2d')
|
|
|
1133 |
var barChartData = $.extend(true, {}, areaChartData)
|
|
|
1134 |
var temp0 = areaChartData.datasets[0]
|
|
|
1135 |
var temp1 = areaChartData.datasets[1]
|
|
|
1136 |
barChartData.datasets[0] = temp1
|
|
|
1137 |
barChartData.datasets[1] = temp0
|
|
|
1138 |
|
|
|
1139 |
|
|
|
1140 |
var barChartOptions = {
|
|
|
1141 |
responsive : true,
|
|
|
1142 |
indexAxis : 'y',
|
|
|
1143 |
maintainAspectRatio : false,
|
|
|
1144 |
datasetFill : false,
|
|
|
1145 |
plugins: {
|
|
|
1146 |
datalabels: {
|
|
|
1147 |
color: 'white',
|
|
|
1148 |
labels: {
|
|
|
1149 |
title: {
|
|
|
1150 |
font: {
|
|
|
1151 |
weight: 'bold',
|
|
|
1152 |
}
|
|
|
1153 |
},
|
|
|
1154 |
}
|
|
|
1155 |
},
|
|
|
1156 |
tooltips: {
|
|
|
1157 |
enabled: false,
|
|
|
1158 |
},
|
|
|
1159 |
|
|
|
1160 |
|
|
|
1161 |
},
|
|
|
1162 |
}
|
|
|
1163 |
|
|
|
1164 |
new Chart(barChartCanvas, {
|
|
|
1165 |
plugins: [ChartDataLabels],
|
|
|
1166 |
type: 'bar',
|
|
|
1167 |
|
|
|
1168 |
data: barChartData,
|
|
|
1169 |
options: barChartOptions
|
|
|
1170 |
|
|
|
1171 |
});
|
|
|
1172 |
}
|
|
|
1173 |
/****** END FUNCTIONS ***/
|
|
|
1174 |
|
|
|
1175 |
/****** START CAPSULE RESUME GROUPS ***/
|
|
|
1176 |
if($('#barChartCapsuleResumeGroups').length > 0) {
|
|
|
1177 |
var areaChartData = {
|
|
|
1178 |
labels : [$labelsCapsuleResumeGroups],
|
|
|
1179 |
datasets: [
|
|
|
1180 |
{
|
|
|
1181 |
label : 'LABEL_GRAPH_STUDENTS_TOTALS',
|
16910 |
efrain |
1182 |
borderColor: bgColors.red,
|
|
|
1183 |
backgroundColor: bgColors.blue,
|
1 |
www |
1184 |
borderWidth: 1,
|
|
|
1185 |
data : [ $totalsCapsuleResumeGroups ]
|
|
|
1186 |
},
|
|
|
1187 |
{
|
|
|
1188 |
label : 'LABEL_GRAPH_STUDENTS_RESULE_CAPSULE_VALUES',
|
16910 |
efrain |
1189 |
borderColor: bgColors.blue,
|
|
|
1190 |
backgroundColor: bgColors.red,
|
1 |
www |
1191 |
borderWidth: 1,
|
|
|
1192 |
data : [ $valuesCapsuleResumeGroups ]
|
|
|
1193 |
},
|
|
|
1194 |
]
|
|
|
1195 |
|
|
|
1196 |
}
|
|
|
1197 |
|
|
|
1198 |
var barChartCanvas = $('#barChartCapsuleResumeGroups').get(0).getContext('2d')
|
|
|
1199 |
var barChartData = $.extend(true, {}, areaChartData)
|
|
|
1200 |
var temp0 = areaChartData.datasets[0]
|
|
|
1201 |
var temp1 = areaChartData.datasets[1]
|
|
|
1202 |
barChartData.datasets[0] = temp1
|
|
|
1203 |
barChartData.datasets[1] = temp0
|
|
|
1204 |
|
|
|
1205 |
|
|
|
1206 |
var barChartOptions = {
|
|
|
1207 |
responsive : true,
|
|
|
1208 |
indexAxis : 'y',
|
|
|
1209 |
maintainAspectRatio : false,
|
|
|
1210 |
datasetFill : false,
|
|
|
1211 |
plugins: {
|
|
|
1212 |
datalabels: {
|
|
|
1213 |
color: 'white',
|
|
|
1214 |
labels: {
|
|
|
1215 |
title: {
|
|
|
1216 |
font: {
|
|
|
1217 |
weight: 'bold',
|
|
|
1218 |
}
|
|
|
1219 |
},
|
|
|
1220 |
}
|
|
|
1221 |
},
|
|
|
1222 |
tooltips: {
|
|
|
1223 |
enabled: false,
|
|
|
1224 |
},
|
|
|
1225 |
|
|
|
1226 |
|
|
|
1227 |
},
|
|
|
1228 |
}
|
|
|
1229 |
|
|
|
1230 |
new Chart(barChartCanvas, {
|
|
|
1231 |
plugins: [ChartDataLabels],
|
|
|
1232 |
type: 'bar',
|
|
|
1233 |
|
|
|
1234 |
data: barChartData,
|
|
|
1235 |
options: barChartOptions
|
|
|
1236 |
|
|
|
1237 |
});
|
|
|
1238 |
}
|
|
|
1239 |
|
|
|
1240 |
/****** END GROUPS ***/
|
|
|
1241 |
|
|
|
1242 |
|
|
|
1243 |
/****** START CAPSULE RESUME INSTITUTIONS ***/
|
|
|
1244 |
if($('#barChartCapsuleResumeInstitutions').length > 0) {
|
|
|
1245 |
var areaChartData = {
|
|
|
1246 |
labels : [$labelsCapsuleResumeInstitutions],
|
|
|
1247 |
datasets: [
|
|
|
1248 |
{
|
|
|
1249 |
label : 'LABEL_GRAPH_STUDENTS_TOTALS',
|
16910 |
efrain |
1250 |
borderColor: bgColors.red,
|
|
|
1251 |
backgroundColor: bgColors.blue,
|
1 |
www |
1252 |
borderWidth: 1,
|
|
|
1253 |
data : [ $totalsCapsuleResumeInstitutions ]
|
|
|
1254 |
},
|
|
|
1255 |
{
|
|
|
1256 |
label : 'LABEL_GRAPH_STUDENTS_RESULE_CAPSULE_VALUES',
|
16910 |
efrain |
1257 |
borderColor: bgColors.blue,
|
|
|
1258 |
backgroundColor: bgColors.red,
|
1 |
www |
1259 |
borderWidth: 1,
|
|
|
1260 |
data : [ $valuesCapsuleResumeInstitutions ]
|
|
|
1261 |
},
|
|
|
1262 |
]
|
|
|
1263 |
|
|
|
1264 |
}
|
|
|
1265 |
|
|
|
1266 |
var barChartCanvas = $('#barChartCapsuleResumeInstitutions').get(0).getContext('2d')
|
|
|
1267 |
var barChartData = $.extend(true, {}, areaChartData)
|
|
|
1268 |
var temp0 = areaChartData.datasets[0]
|
|
|
1269 |
var temp1 = areaChartData.datasets[1]
|
|
|
1270 |
barChartData.datasets[0] = temp1
|
|
|
1271 |
barChartData.datasets[1] = temp0
|
|
|
1272 |
|
|
|
1273 |
|
|
|
1274 |
var barChartOptions = {
|
|
|
1275 |
responsive : true,
|
|
|
1276 |
indexAxis : 'y',
|
|
|
1277 |
maintainAspectRatio : false,
|
|
|
1278 |
datasetFill : false,
|
|
|
1279 |
plugins: {
|
|
|
1280 |
datalabels: {
|
|
|
1281 |
color: 'white',
|
|
|
1282 |
labels: {
|
|
|
1283 |
title: {
|
|
|
1284 |
font: {
|
|
|
1285 |
weight: 'bold',
|
|
|
1286 |
}
|
|
|
1287 |
},
|
|
|
1288 |
}
|
|
|
1289 |
},
|
|
|
1290 |
tooltips: {
|
|
|
1291 |
enabled: false,
|
|
|
1292 |
},
|
|
|
1293 |
|
|
|
1294 |
|
|
|
1295 |
},
|
|
|
1296 |
}
|
|
|
1297 |
|
|
|
1298 |
new Chart(barChartCanvas, {
|
|
|
1299 |
plugins: [ChartDataLabels],
|
|
|
1300 |
type: 'bar',
|
|
|
1301 |
|
|
|
1302 |
data: barChartData,
|
|
|
1303 |
options: barChartOptions
|
|
|
1304 |
|
|
|
1305 |
});
|
|
|
1306 |
}
|
|
|
1307 |
|
|
|
1308 |
/****** END INSTITUTIONS ***/
|
|
|
1309 |
|
|
|
1310 |
|
|
|
1311 |
/****** START CAPSULE RESUME PROGRAMS ***/
|
|
|
1312 |
if($('#barChartCapsuleResumePrograms').length > 0) {
|
|
|
1313 |
var areaChartData = {
|
|
|
1314 |
labels : [$labelsCapsuleResumePrograms],
|
|
|
1315 |
datasets: [
|
|
|
1316 |
{
|
|
|
1317 |
label : 'LABEL_GRAPH_STUDENTS_TOTALS',
|
16910 |
efrain |
1318 |
borderColor: bgColors.red,
|
|
|
1319 |
backgroundColor: bgColors.blue,
|
1 |
www |
1320 |
borderWidth: 1,
|
|
|
1321 |
data : [ $totalsCapsuleResumePrograms ]
|
|
|
1322 |
},
|
|
|
1323 |
{
|
|
|
1324 |
label : 'LABEL_GRAPH_STUDENTS_RESULE_CAPSULE_VALUES',
|
16910 |
efrain |
1325 |
borderColor: bgColors.blue,
|
|
|
1326 |
backgroundColor: bgColors.red,
|
1 |
www |
1327 |
borderWidth: 1,
|
|
|
1328 |
data : [ $valuesCapsuleResumePrograms ]
|
|
|
1329 |
},
|
|
|
1330 |
]
|
|
|
1331 |
|
|
|
1332 |
}
|
|
|
1333 |
|
|
|
1334 |
var barChartCanvas = $('#barChartCapsuleResumePrograms').get(0).getContext('2d')
|
|
|
1335 |
var barChartData = $.extend(true, {}, areaChartData)
|
|
|
1336 |
var temp0 = areaChartData.datasets[0]
|
|
|
1337 |
var temp1 = areaChartData.datasets[1]
|
|
|
1338 |
barChartData.datasets[0] = temp1
|
|
|
1339 |
barChartData.datasets[1] = temp0
|
|
|
1340 |
|
|
|
1341 |
|
|
|
1342 |
var barChartOptions = {
|
|
|
1343 |
responsive : true,
|
|
|
1344 |
indexAxis : 'y',
|
|
|
1345 |
maintainAspectRatio : false,
|
|
|
1346 |
datasetFill : false,
|
|
|
1347 |
plugins: {
|
|
|
1348 |
datalabels: {
|
|
|
1349 |
color: 'white',
|
|
|
1350 |
labels: {
|
|
|
1351 |
title: {
|
|
|
1352 |
font: {
|
|
|
1353 |
weight: 'bold',
|
|
|
1354 |
}
|
|
|
1355 |
},
|
|
|
1356 |
}
|
|
|
1357 |
},
|
|
|
1358 |
tooltips: {
|
|
|
1359 |
enabled: false,
|
|
|
1360 |
},
|
|
|
1361 |
|
|
|
1362 |
|
|
|
1363 |
},
|
|
|
1364 |
}
|
|
|
1365 |
|
|
|
1366 |
new Chart(barChartCanvas, {
|
|
|
1367 |
plugins: [ChartDataLabels],
|
|
|
1368 |
type: 'bar',
|
|
|
1369 |
|
|
|
1370 |
data: barChartData,
|
|
|
1371 |
options: barChartOptions
|
|
|
1372 |
|
|
|
1373 |
});
|
|
|
1374 |
}
|
|
|
1375 |
|
|
|
1376 |
/****** END PROGRAMS ***/
|
|
|
1377 |
|
|
|
1378 |
/****** START CAPSULE RESUME PARTNERS ***/
|
|
|
1379 |
if ($('#barChartCapsuleResumePartners').length > 0) {
|
|
|
1380 |
|
|
|
1381 |
var areaChartData = {
|
|
|
1382 |
labels : [$labelsCapsuleResumePartners],
|
|
|
1383 |
datasets: [
|
|
|
1384 |
{
|
|
|
1385 |
label : 'LABEL_GRAPH_STUDENTS_TOTALS',
|
16910 |
efrain |
1386 |
borderColor: bgColors.red,
|
|
|
1387 |
backgroundColor: bgColors.blue,
|
1 |
www |
1388 |
borderWidth: 1,
|
|
|
1389 |
data : [ $totalsCapsuleResumePartners ]
|
|
|
1390 |
},
|
|
|
1391 |
{
|
|
|
1392 |
label : 'LABEL_GRAPH_STUDENTS_RESULE_CAPSULE_VALUES',
|
16910 |
efrain |
1393 |
borderColor: bgColors.blue,
|
|
|
1394 |
backgroundColor: bgColors.red,
|
1 |
www |
1395 |
borderWidth: 1,
|
|
|
1396 |
data : [ $valuesCapsuleResumePartners ]
|
|
|
1397 |
},
|
|
|
1398 |
]
|
|
|
1399 |
|
|
|
1400 |
}
|
|
|
1401 |
|
|
|
1402 |
var barChartCanvas = $('#barChartCapsuleResumePartners').get(0).getContext('2d')
|
|
|
1403 |
var barChartData = $.extend(true, {}, areaChartData)
|
|
|
1404 |
var temp0 = areaChartData.datasets[0]
|
|
|
1405 |
var temp1 = areaChartData.datasets[1]
|
|
|
1406 |
barChartData.datasets[0] = temp1
|
|
|
1407 |
barChartData.datasets[1] = temp0
|
|
|
1408 |
|
|
|
1409 |
|
|
|
1410 |
var barChartOptions = {
|
|
|
1411 |
responsive : true,
|
|
|
1412 |
indexAxis : 'y',
|
|
|
1413 |
maintainAspectRatio : false,
|
|
|
1414 |
datasetFill : false,
|
|
|
1415 |
plugins: {
|
|
|
1416 |
datalabels: {
|
|
|
1417 |
color: 'white',
|
|
|
1418 |
labels: {
|
|
|
1419 |
title: {
|
|
|
1420 |
font: {
|
|
|
1421 |
weight: 'bold',
|
|
|
1422 |
}
|
|
|
1423 |
},
|
|
|
1424 |
}
|
|
|
1425 |
},
|
|
|
1426 |
tooltips: {
|
|
|
1427 |
enabled: false,
|
|
|
1428 |
},
|
|
|
1429 |
|
|
|
1430 |
|
|
|
1431 |
},
|
|
|
1432 |
}
|
|
|
1433 |
|
|
|
1434 |
new Chart(barChartCanvas, {
|
|
|
1435 |
plugins: [ChartDataLabels],
|
|
|
1436 |
type: 'bar',
|
|
|
1437 |
|
|
|
1438 |
data: barChartData,
|
|
|
1439 |
options: barChartOptions
|
|
|
1440 |
|
|
|
1441 |
});
|
|
|
1442 |
}
|
|
|
1443 |
|
|
|
1444 |
/****** END PARTNERS ***/
|
|
|
1445 |
|
|
|
1446 |
/****** START CAPSULE RESUME SECTORS ***/
|
|
|
1447 |
if($('#barChartCapsuleResumeSectors').length > 0) {
|
|
|
1448 |
|
|
|
1449 |
var areaChartData = {
|
|
|
1450 |
labels : [$labelsCapsuleResumeSectors],
|
|
|
1451 |
datasets: [
|
|
|
1452 |
{
|
|
|
1453 |
label : 'LABEL_GRAPH_STUDENTS_TOTALS',
|
16910 |
efrain |
1454 |
borderColor: bgColors.red,
|
|
|
1455 |
backgroundColor: bgColors.blue,
|
1 |
www |
1456 |
borderWidth: 1,
|
|
|
1457 |
data : [ $totalsCapsuleResumeSectors ]
|
|
|
1458 |
},
|
|
|
1459 |
{
|
|
|
1460 |
label : 'LABEL_GRAPH_STUDENTS_RESULE_CAPSULE_VALUES',
|
16910 |
efrain |
1461 |
borderColor: bgColors.blue,
|
|
|
1462 |
backgroundColor: bgColors.red,
|
1 |
www |
1463 |
borderWidth: 1,
|
|
|
1464 |
data : [ $valuesCapsuleResumeSectors ]
|
|
|
1465 |
},
|
|
|
1466 |
]
|
|
|
1467 |
|
|
|
1468 |
}
|
|
|
1469 |
|
|
|
1470 |
var barChartCanvas = $('#barChartCapsuleResumeSectors').get(0).getContext('2d')
|
|
|
1471 |
var barChartData = $.extend(true, {}, areaChartData)
|
|
|
1472 |
var temp0 = areaChartData.datasets[0]
|
|
|
1473 |
var temp1 = areaChartData.datasets[1]
|
|
|
1474 |
barChartData.datasets[0] = temp1
|
|
|
1475 |
barChartData.datasets[1] = temp0
|
|
|
1476 |
|
|
|
1477 |
|
|
|
1478 |
var barChartOptions = {
|
|
|
1479 |
responsive : true,
|
|
|
1480 |
indexAxis : 'y',
|
|
|
1481 |
maintainAspectRatio : false,
|
|
|
1482 |
datasetFill : false,
|
|
|
1483 |
plugins: {
|
|
|
1484 |
datalabels: {
|
|
|
1485 |
color: 'white',
|
|
|
1486 |
labels: {
|
|
|
1487 |
title: {
|
|
|
1488 |
font: {
|
|
|
1489 |
weight: 'bold',
|
|
|
1490 |
}
|
|
|
1491 |
},
|
|
|
1492 |
}
|
|
|
1493 |
},
|
|
|
1494 |
tooltips: {
|
|
|
1495 |
enabled: false,
|
|
|
1496 |
},
|
|
|
1497 |
|
|
|
1498 |
|
|
|
1499 |
},
|
|
|
1500 |
}
|
|
|
1501 |
|
|
|
1502 |
new Chart(barChartCanvas, {
|
|
|
1503 |
plugins: [ChartDataLabels],
|
|
|
1504 |
type: 'bar',
|
|
|
1505 |
|
|
|
1506 |
data: barChartData,
|
|
|
1507 |
options: barChartOptions
|
|
|
1508 |
|
|
|
1509 |
})
|
|
|
1510 |
}
|
|
|
1511 |
|
|
|
1512 |
/****** END SECTORS ***/
|
|
|
1513 |
|
|
|
1514 |
/****** START CAPSULE RESUME EXTEND TYPES ***/
|
|
|
1515 |
if($('#barChartCapsuleResumeStudentTypes').length > 0) {
|
|
|
1516 |
|
|
|
1517 |
var areaChartData = {
|
|
|
1518 |
labels : [$labelsCapsuleResumeStudentTypes],
|
|
|
1519 |
datasets: [
|
|
|
1520 |
{
|
|
|
1521 |
label : 'LABEL_GRAPH_STUDENTS_TOTALS',
|
16910 |
efrain |
1522 |
borderColor: bgColors.red,
|
|
|
1523 |
backgroundColor: bgColors.blue,
|
1 |
www |
1524 |
borderWidth: 1,
|
|
|
1525 |
data : [ $totalsCapsuleResumeStudentTypes ]
|
|
|
1526 |
},
|
|
|
1527 |
{
|
|
|
1528 |
label : 'LABEL_GRAPH_STUDENTS_RESULE_CAPSULE_VALUES',
|
16910 |
efrain |
1529 |
borderColor: bgColors.blue,
|
|
|
1530 |
backgroundColor: bgColors.red,
|
1 |
www |
1531 |
borderWidth: 1,
|
|
|
1532 |
data : [ $valuesCapsuleResumeStudentTypes ]
|
|
|
1533 |
},
|
|
|
1534 |
]
|
|
|
1535 |
|
|
|
1536 |
}
|
|
|
1537 |
|
|
|
1538 |
var barChartCanvas = $('#barChartCapsuleResumeStudentTypes').get(0).getContext('2d')
|
|
|
1539 |
var barChartData = $.extend(true, {}, areaChartData)
|
|
|
1540 |
var temp0 = areaChartData.datasets[0]
|
|
|
1541 |
var temp1 = areaChartData.datasets[1]
|
|
|
1542 |
barChartData.datasets[0] = temp1
|
|
|
1543 |
barChartData.datasets[1] = temp0
|
|
|
1544 |
|
|
|
1545 |
|
|
|
1546 |
var barChartOptions = {
|
|
|
1547 |
responsive : true,
|
|
|
1548 |
indexAxis : 'y',
|
|
|
1549 |
maintainAspectRatio : false,
|
|
|
1550 |
datasetFill : false,
|
|
|
1551 |
plugins: {
|
|
|
1552 |
datalabels: {
|
|
|
1553 |
color: 'white',
|
|
|
1554 |
labels: {
|
|
|
1555 |
title: {
|
|
|
1556 |
font: {
|
|
|
1557 |
weight: 'bold',
|
|
|
1558 |
}
|
|
|
1559 |
},
|
|
|
1560 |
}
|
|
|
1561 |
},
|
|
|
1562 |
tooltips: {
|
|
|
1563 |
enabled: false,
|
|
|
1564 |
},
|
|
|
1565 |
|
|
|
1566 |
|
|
|
1567 |
},
|
|
|
1568 |
}
|
|
|
1569 |
|
|
|
1570 |
new Chart(barChartCanvas, {
|
|
|
1571 |
plugins: [ChartDataLabels],
|
|
|
1572 |
type: 'bar',
|
|
|
1573 |
|
|
|
1574 |
data: barChartData,
|
|
|
1575 |
options: barChartOptions
|
|
|
1576 |
|
|
|
1577 |
});
|
|
|
1578 |
|
|
|
1579 |
}
|
|
|
1580 |
|
|
|
1581 |
/****** END EXTEND TYPES ***/
|
|
|
1582 |
|
|
|
1583 |
/****** START TOTAL COMPANIES ***/
|
|
|
1584 |
if($('#barChartTotalCompanies').length > 0) {
|
|
|
1585 |
var areaChartData = {
|
|
|
1586 |
labels : [$labelsTotalCompanies],
|
|
|
1587 |
datasets: [
|
|
|
1588 |
{
|
|
|
1589 |
label : '',
|
16910 |
efrain |
1590 |
backgroundColor: Object.values(bgColors),
|
1 |
www |
1591 |
pointRadius : true,
|
|
|
1592 |
data : [ $totalsTotalCompanies ]
|
|
|
1593 |
},
|
|
|
1594 |
|
|
|
1595 |
]
|
|
|
1596 |
|
|
|
1597 |
}
|
|
|
1598 |
|
|
|
1599 |
var barChartCanvas = $('#barChartTotalCompanies').get(0).getContext('2d')
|
|
|
1600 |
var barChartData = $.extend(true, {}, areaChartData)
|
|
|
1601 |
var temp0 = areaChartData.datasets[0]
|
|
|
1602 |
barChartData.datasets[0] = temp0
|
|
|
1603 |
|
|
|
1604 |
|
|
|
1605 |
var barChartOptions = {
|
|
|
1606 |
responsive : true,
|
|
|
1607 |
indexAxis : 'y',
|
|
|
1608 |
maintainAspectRatio : false,
|
|
|
1609 |
datasetFill : false,
|
|
|
1610 |
plugins: {
|
|
|
1611 |
legend: {
|
|
|
1612 |
display: false,
|
|
|
1613 |
} ,
|
|
|
1614 |
datalabels: {
|
|
|
1615 |
color: 'white',
|
|
|
1616 |
labels: {
|
|
|
1617 |
title: {
|
|
|
1618 |
font: {
|
|
|
1619 |
weight: 'bold',
|
|
|
1620 |
}
|
|
|
1621 |
},
|
|
|
1622 |
}
|
|
|
1623 |
},
|
|
|
1624 |
tooltips: {
|
|
|
1625 |
enabled: false,
|
|
|
1626 |
},
|
|
|
1627 |
|
|
|
1628 |
|
|
|
1629 |
},
|
|
|
1630 |
}
|
|
|
1631 |
|
|
|
1632 |
new Chart(barChartCanvas, {
|
|
|
1633 |
plugins: [ChartDataLabels],
|
|
|
1634 |
type: 'bar',
|
|
|
1635 |
|
|
|
1636 |
data: barChartData,
|
|
|
1637 |
options: barChartOptions
|
|
|
1638 |
|
|
|
1639 |
});
|
|
|
1640 |
}
|
|
|
1641 |
|
|
|
1642 |
/****** END COMPANIES ***/
|
|
|
1643 |
|
|
|
1644 |
|
|
|
1645 |
/****** START TOTAL FUNCTIONS ***/
|
|
|
1646 |
if($('#barChartTotalFunctions').length > 0) {
|
|
|
1647 |
var areaChartData = {
|
|
|
1648 |
labels : [$labelsTotalFunctions],
|
|
|
1649 |
datasets: [
|
|
|
1650 |
{
|
|
|
1651 |
label : '',
|
16910 |
efrain |
1652 |
backgroundColor: Object.values(bgColors),
|
1 |
www |
1653 |
pointRadius : true,
|
|
|
1654 |
data : [ $totalsTotalFunctions ]
|
|
|
1655 |
},
|
|
|
1656 |
]
|
|
|
1657 |
|
|
|
1658 |
}
|
|
|
1659 |
|
|
|
1660 |
var barChartCanvas = $('#barChartTotalFunctions').get(0).getContext('2d')
|
|
|
1661 |
var barChartData = $.extend(true, {}, areaChartData)
|
|
|
1662 |
var temp0 = areaChartData.datasets[0]
|
|
|
1663 |
barChartData.datasets[0] = temp0
|
|
|
1664 |
|
|
|
1665 |
|
|
|
1666 |
var barChartOptions = {
|
|
|
1667 |
responsive : true,
|
|
|
1668 |
indexAxis : 'y',
|
|
|
1669 |
maintainAspectRatio : false,
|
|
|
1670 |
datasetFill : false,
|
|
|
1671 |
plugins: {
|
|
|
1672 |
legend: {
|
|
|
1673 |
display: false,
|
|
|
1674 |
} ,
|
|
|
1675 |
datalabels: {
|
|
|
1676 |
color: 'white',
|
|
|
1677 |
labels: {
|
|
|
1678 |
title: {
|
|
|
1679 |
font: {
|
|
|
1680 |
weight: 'bold',
|
|
|
1681 |
}
|
|
|
1682 |
},
|
|
|
1683 |
}
|
|
|
1684 |
},
|
|
|
1685 |
tooltips: {
|
|
|
1686 |
enabled: false,
|
|
|
1687 |
},
|
|
|
1688 |
|
|
|
1689 |
|
|
|
1690 |
},
|
|
|
1691 |
}
|
|
|
1692 |
|
|
|
1693 |
new Chart(barChartCanvas, {
|
|
|
1694 |
plugins: [ChartDataLabels],
|
|
|
1695 |
type: 'bar',
|
|
|
1696 |
|
|
|
1697 |
data: barChartData,
|
|
|
1698 |
options: barChartOptions
|
|
|
1699 |
|
|
|
1700 |
});
|
|
|
1701 |
}
|
|
|
1702 |
/****** END FUNCTIONS ***/
|
|
|
1703 |
|
|
|
1704 |
/****** START TOTAL GROUPS ***/
|
|
|
1705 |
if($('#barChartTotalGroups').length > 0) {
|
|
|
1706 |
var areaChartData = {
|
|
|
1707 |
labels : [$labelsTotalGroups],
|
|
|
1708 |
datasets: [
|
|
|
1709 |
{
|
|
|
1710 |
label : '',
|
16910 |
efrain |
1711 |
backgroundColor: Object.values(bgColors),
|
1 |
www |
1712 |
pointRadius : true,
|
|
|
1713 |
data : [ $totalsTotalGroups ]
|
|
|
1714 |
},
|
|
|
1715 |
|
|
|
1716 |
]
|
|
|
1717 |
|
|
|
1718 |
}
|
|
|
1719 |
|
|
|
1720 |
var barChartCanvas = $('#barChartTotalGroups').get(0).getContext('2d')
|
|
|
1721 |
var barChartData = $.extend(true, {}, areaChartData)
|
|
|
1722 |
var temp0 = areaChartData.datasets[0]
|
|
|
1723 |
barChartData.datasets[0] = temp0
|
|
|
1724 |
|
|
|
1725 |
|
|
|
1726 |
var barChartOptions = {
|
|
|
1727 |
responsive : true,
|
|
|
1728 |
indexAxis : 'y',
|
|
|
1729 |
maintainAspectRatio : false,
|
|
|
1730 |
datasetFill : false,
|
|
|
1731 |
plugins: {
|
|
|
1732 |
legend: {
|
|
|
1733 |
display: false,
|
|
|
1734 |
} ,
|
|
|
1735 |
datalabels: {
|
|
|
1736 |
color: 'white',
|
|
|
1737 |
labels: {
|
|
|
1738 |
title: {
|
|
|
1739 |
font: {
|
|
|
1740 |
weight: 'bold',
|
|
|
1741 |
}
|
|
|
1742 |
},
|
|
|
1743 |
}
|
|
|
1744 |
},
|
|
|
1745 |
tooltips: {
|
|
|
1746 |
enabled: false,
|
|
|
1747 |
},
|
|
|
1748 |
|
|
|
1749 |
|
|
|
1750 |
},
|
|
|
1751 |
}
|
|
|
1752 |
|
|
|
1753 |
new Chart(barChartCanvas, {
|
|
|
1754 |
plugins: [ChartDataLabels],
|
|
|
1755 |
type: 'bar',
|
|
|
1756 |
|
|
|
1757 |
data: barChartData,
|
|
|
1758 |
options: barChartOptions
|
|
|
1759 |
|
|
|
1760 |
});
|
|
|
1761 |
}
|
|
|
1762 |
|
|
|
1763 |
/****** END GROUPS ***/
|
|
|
1764 |
|
|
|
1765 |
|
|
|
1766 |
/****** START TOTAL INSTITUTIONS ***/
|
|
|
1767 |
if($('#barChartTotalInstitutions').length > 0) {
|
|
|
1768 |
var areaChartData = {
|
|
|
1769 |
labels : [$labelsTotalInstitutions],
|
|
|
1770 |
datasets: [
|
|
|
1771 |
{
|
|
|
1772 |
label : '',
|
16910 |
efrain |
1773 |
backgroundColor: Object.values(bgColors),
|
1 |
www |
1774 |
pointRadius : true,
|
|
|
1775 |
data : [ $totalsTotalInstitutions ]
|
|
|
1776 |
},
|
|
|
1777 |
|
|
|
1778 |
]
|
|
|
1779 |
|
|
|
1780 |
}
|
|
|
1781 |
|
|
|
1782 |
var barChartCanvas = $('#barChartTotalInstitutions').get(0).getContext('2d')
|
|
|
1783 |
var barChartData = $.extend(true, {}, areaChartData)
|
|
|
1784 |
var temp0 = areaChartData.datasets[0]
|
|
|
1785 |
barChartData.datasets[0] = temp0
|
|
|
1786 |
|
|
|
1787 |
|
|
|
1788 |
var barChartOptions = {
|
|
|
1789 |
responsive : true,
|
|
|
1790 |
indexAxis : 'y',
|
|
|
1791 |
maintainAspectRatio : false,
|
|
|
1792 |
datasetFill : false,
|
|
|
1793 |
plugins: {
|
|
|
1794 |
legend: {
|
|
|
1795 |
display: false,
|
|
|
1796 |
} ,
|
|
|
1797 |
datalabels: {
|
|
|
1798 |
color: 'white',
|
|
|
1799 |
labels: {
|
|
|
1800 |
title: {
|
|
|
1801 |
font: {
|
|
|
1802 |
weight: 'bold',
|
|
|
1803 |
}
|
|
|
1804 |
},
|
|
|
1805 |
}
|
|
|
1806 |
},
|
|
|
1807 |
tooltips: {
|
|
|
1808 |
enabled: false,
|
|
|
1809 |
},
|
|
|
1810 |
|
|
|
1811 |
|
|
|
1812 |
},
|
|
|
1813 |
}
|
|
|
1814 |
|
|
|
1815 |
new Chart(barChartCanvas, {
|
|
|
1816 |
plugins: [ChartDataLabels],
|
|
|
1817 |
type: 'bar',
|
|
|
1818 |
|
|
|
1819 |
data: barChartData,
|
|
|
1820 |
options: barChartOptions
|
|
|
1821 |
|
|
|
1822 |
});
|
|
|
1823 |
}
|
|
|
1824 |
|
|
|
1825 |
/****** END INSTITUTIONS ***/
|
|
|
1826 |
|
|
|
1827 |
|
|
|
1828 |
/****** START TOTAL PROGRAMS ***/
|
|
|
1829 |
if($('#barChartTotalPrograms').length > 0) {
|
|
|
1830 |
var areaChartData = {
|
|
|
1831 |
labels : [$labelsTotalPrograms],
|
|
|
1832 |
datasets: [
|
|
|
1833 |
{
|
|
|
1834 |
label : '',
|
16910 |
efrain |
1835 |
backgroundColor: Object.values(bgColors),
|
1 |
www |
1836 |
pointRadius : true,
|
|
|
1837 |
data : [ $totalsTotalPrograms ]
|
|
|
1838 |
},
|
|
|
1839 |
|
|
|
1840 |
]
|
|
|
1841 |
|
|
|
1842 |
}
|
|
|
1843 |
|
|
|
1844 |
var barChartCanvas = $('#barChartTotalPrograms').get(0).getContext('2d')
|
|
|
1845 |
var barChartData = $.extend(true, {}, areaChartData)
|
|
|
1846 |
var temp0 = areaChartData.datasets[0]
|
|
|
1847 |
barChartData.datasets[0] = temp0
|
|
|
1848 |
|
|
|
1849 |
|
|
|
1850 |
var barChartOptions = {
|
|
|
1851 |
responsive : true,
|
|
|
1852 |
indexAxis : 'y',
|
|
|
1853 |
maintainAspectRatio : false,
|
|
|
1854 |
datasetFill : false,
|
|
|
1855 |
plugins: {
|
|
|
1856 |
legend: {
|
|
|
1857 |
display: false,
|
|
|
1858 |
} ,
|
|
|
1859 |
datalabels: {
|
|
|
1860 |
color: 'white',
|
|
|
1861 |
labels: {
|
|
|
1862 |
title: {
|
|
|
1863 |
font: {
|
|
|
1864 |
weight: 'bold',
|
|
|
1865 |
}
|
|
|
1866 |
},
|
|
|
1867 |
}
|
|
|
1868 |
},
|
|
|
1869 |
tooltips: {
|
|
|
1870 |
enabled: false,
|
|
|
1871 |
},
|
|
|
1872 |
|
|
|
1873 |
|
|
|
1874 |
},
|
|
|
1875 |
}
|
|
|
1876 |
|
|
|
1877 |
new Chart(barChartCanvas, {
|
|
|
1878 |
plugins: [ChartDataLabels],
|
|
|
1879 |
type: 'bar',
|
|
|
1880 |
|
|
|
1881 |
data: barChartData,
|
|
|
1882 |
options: barChartOptions
|
|
|
1883 |
|
|
|
1884 |
});
|
|
|
1885 |
}
|
|
|
1886 |
|
|
|
1887 |
/****** END PROGRAMS ***/
|
|
|
1888 |
|
|
|
1889 |
/****** START TOTAL PARTNERS ***/
|
|
|
1890 |
if ($('#barChartTotalPartners').length > 0) {
|
|
|
1891 |
|
|
|
1892 |
var areaChartData = {
|
|
|
1893 |
labels : [$labelsTotalPartners],
|
|
|
1894 |
datasets: [
|
|
|
1895 |
{
|
|
|
1896 |
label : '',
|
16910 |
efrain |
1897 |
backgroundColor: Object.values(bgColors),
|
1 |
www |
1898 |
pointRadius : true,
|
|
|
1899 |
data : [ $totalsTotalPartners ]
|
|
|
1900 |
},
|
|
|
1901 |
|
|
|
1902 |
]
|
|
|
1903 |
|
|
|
1904 |
}
|
|
|
1905 |
|
|
|
1906 |
var barChartCanvas = $('#barChartTotalPartners').get(0).getContext('2d')
|
|
|
1907 |
var barChartData = $.extend(true, {}, areaChartData)
|
|
|
1908 |
var temp0 = areaChartData.datasets[0]
|
|
|
1909 |
barChartData.datasets[0] = temp0
|
|
|
1910 |
|
|
|
1911 |
|
|
|
1912 |
var barChartOptions = {
|
|
|
1913 |
responsive : true,
|
|
|
1914 |
indexAxis : 'y',
|
|
|
1915 |
maintainAspectRatio : false,
|
|
|
1916 |
datasetFill : false,
|
|
|
1917 |
plugins: {
|
|
|
1918 |
legend: {
|
|
|
1919 |
display: false,
|
|
|
1920 |
} ,
|
|
|
1921 |
datalabels: {
|
|
|
1922 |
color: 'white',
|
|
|
1923 |
labels: {
|
|
|
1924 |
title: {
|
|
|
1925 |
font: {
|
|
|
1926 |
weight: 'bold',
|
|
|
1927 |
}
|
|
|
1928 |
},
|
|
|
1929 |
}
|
|
|
1930 |
},
|
|
|
1931 |
tooltips: {
|
|
|
1932 |
enabled: false,
|
|
|
1933 |
},
|
|
|
1934 |
|
|
|
1935 |
|
|
|
1936 |
},
|
|
|
1937 |
}
|
|
|
1938 |
|
|
|
1939 |
new Chart(barChartCanvas, {
|
|
|
1940 |
plugins: [ChartDataLabels],
|
|
|
1941 |
type: 'bar',
|
|
|
1942 |
|
|
|
1943 |
data: barChartData,
|
|
|
1944 |
options: barChartOptions
|
|
|
1945 |
|
|
|
1946 |
});
|
|
|
1947 |
}
|
|
|
1948 |
|
|
|
1949 |
/****** END PARTNERS ***/
|
|
|
1950 |
|
|
|
1951 |
/****** START TOTAL SECTORS ***/
|
|
|
1952 |
if($('#barChartTotalSectors').length > 0) {
|
|
|
1953 |
|
|
|
1954 |
var areaChartData = {
|
|
|
1955 |
labels : [$labelsTotalSectors],
|
|
|
1956 |
datasets: [
|
|
|
1957 |
{
|
|
|
1958 |
label : '',
|
16910 |
efrain |
1959 |
backgroundColor: Object.values(bgColors),
|
1 |
www |
1960 |
pointRadius : true,
|
|
|
1961 |
data : [ $totalsTotalSectors ]
|
|
|
1962 |
},
|
|
|
1963 |
|
|
|
1964 |
]
|
|
|
1965 |
|
|
|
1966 |
}
|
|
|
1967 |
|
|
|
1968 |
var barChartCanvas = $('#barChartTotalSectors').get(0).getContext('2d')
|
|
|
1969 |
var barChartData = $.extend(true, {}, areaChartData)
|
|
|
1970 |
var temp0 = areaChartData.datasets[0]
|
|
|
1971 |
barChartData.datasets[0] = temp0
|
|
|
1972 |
|
|
|
1973 |
|
|
|
1974 |
var barChartOptions = {
|
|
|
1975 |
responsive : true,
|
|
|
1976 |
indexAxis : 'y',
|
|
|
1977 |
maintainAspectRatio : false,
|
|
|
1978 |
datasetFill : false,
|
|
|
1979 |
plugins: {
|
|
|
1980 |
legend: {
|
|
|
1981 |
display: false,
|
|
|
1982 |
} ,
|
|
|
1983 |
datalabels: {
|
|
|
1984 |
color: 'white',
|
|
|
1985 |
labels: {
|
|
|
1986 |
title: {
|
|
|
1987 |
font: {
|
|
|
1988 |
weight: 'bold',
|
|
|
1989 |
}
|
|
|
1990 |
},
|
|
|
1991 |
}
|
|
|
1992 |
},
|
|
|
1993 |
tooltips: {
|
|
|
1994 |
enabled: false,
|
|
|
1995 |
},
|
|
|
1996 |
|
|
|
1997 |
|
|
|
1998 |
},
|
|
|
1999 |
}
|
|
|
2000 |
|
|
|
2001 |
new Chart(barChartCanvas, {
|
|
|
2002 |
plugins: [ChartDataLabels],
|
|
|
2003 |
type: 'bar',
|
|
|
2004 |
|
|
|
2005 |
data: barChartData,
|
|
|
2006 |
options: barChartOptions
|
|
|
2007 |
|
|
|
2008 |
})
|
|
|
2009 |
}
|
|
|
2010 |
|
|
|
2011 |
/****** END SECTORS ***/
|
|
|
2012 |
|
|
|
2013 |
/****** START TOTAL EXTEND TYPES ***/
|
|
|
2014 |
if($('#barChartTotalStudentTypes').length > 0) {
|
|
|
2015 |
|
|
|
2016 |
var areaChartData = {
|
|
|
2017 |
labels : [$labelsTotalStudentTypes],
|
|
|
2018 |
datasets: [
|
|
|
2019 |
{
|
|
|
2020 |
label : '',
|
16910 |
efrain |
2021 |
backgroundColor: Object.values(bgColors),
|
1 |
www |
2022 |
pointRadius : true,
|
|
|
2023 |
data : [ $totalsTotalStudentTypes ]
|
|
|
2024 |
},
|
|
|
2025 |
|
|
|
2026 |
]
|
|
|
2027 |
|
|
|
2028 |
}
|
|
|
2029 |
|
|
|
2030 |
var barChartCanvas = $('#barChartTotalStudentTypes').get(0).getContext('2d')
|
|
|
2031 |
var barChartData = $.extend(true, {}, areaChartData)
|
|
|
2032 |
var temp0 = areaChartData.datasets[0]
|
|
|
2033 |
barChartData.datasets[0] = temp0
|
|
|
2034 |
|
|
|
2035 |
|
|
|
2036 |
var barChartOptions = {
|
|
|
2037 |
responsive : true,
|
|
|
2038 |
indexAxis : 'y',
|
|
|
2039 |
maintainAspectRatio : false,
|
|
|
2040 |
datasetFill : false,
|
|
|
2041 |
plugins: {
|
|
|
2042 |
legend: {
|
|
|
2043 |
display: false,
|
|
|
2044 |
} ,
|
|
|
2045 |
datalabels: {
|
|
|
2046 |
color: 'white',
|
|
|
2047 |
labels: {
|
|
|
2048 |
title: {
|
|
|
2049 |
font: {
|
|
|
2050 |
weight: 'bold',
|
|
|
2051 |
}
|
|
|
2052 |
},
|
|
|
2053 |
}
|
|
|
2054 |
},
|
|
|
2055 |
tooltips: {
|
|
|
2056 |
enabled: false,
|
|
|
2057 |
},
|
|
|
2058 |
|
|
|
2059 |
|
|
|
2060 |
},
|
|
|
2061 |
}
|
|
|
2062 |
|
|
|
2063 |
new Chart(barChartCanvas, {
|
|
|
2064 |
plugins: [ChartDataLabels],
|
|
|
2065 |
type: 'bar',
|
|
|
2066 |
|
|
|
2067 |
data: barChartData,
|
|
|
2068 |
options: barChartOptions
|
|
|
2069 |
|
|
|
2070 |
});
|
|
|
2071 |
|
|
|
2072 |
}
|
|
|
2073 |
|
|
|
2074 |
/****** END EXTEND TYPES ***/
|
|
|
2075 |
|
|
|
2076 |
});
|
|
|
2077 |
JS;
|
|
|
2078 |
$this->inlineScript()->captureEnd();
|
|
|
2079 |
?>
|
|
|
2080 |
|
|
|
2081 |
<!-- Content Wrapper. Contains page content -->
|
|
|
2082 |
|
16910 |
efrain |
2083 |
<div class="container">
|
|
|
2084 |
<div class="card" id="">
|
|
|
2085 |
<div class="card-header">
|
|
|
2086 |
<h6 class="card-title">LABEL_OVERVIEW</h6>
|
|
|
2087 |
</div>
|
|
|
2088 |
<div class="card-body">
|
1 |
www |
2089 |
|
16910 |
efrain |
2090 |
<div class="row">
|
|
|
2091 |
<div class="col-12 mt-3">
|
1 |
www |
2092 |
|
16910 |
efrain |
2093 |
<!-- BAR CHART -->
|
|
|
2094 |
<div class="card">
|
|
|
2095 |
<div class="card-header">
|
|
|
2096 |
<h6 class="card-title">LABEL_STUDENTS</h6>
|
|
|
2097 |
|
|
|
2098 |
<div class="card-tools">
|
|
|
2099 |
<button type="button" class="btn btn-tool" data-card-widget="collapse">
|
|
|
2100 |
<i class="fa fa-minus"></i>
|
|
|
2101 |
</button>
|
|
|
2102 |
|
|
|
2103 |
</div>
|
|
|
2104 |
</div>
|
|
|
2105 |
<div class="card-body">
|
|
|
2106 |
<div class="chart">
|
|
|
2107 |
<canvas id="barChartStudents" style="min-height: 250px; height: 250px; max-height: 250px; max-width: 100%;"></canvas>
|
|
|
2108 |
</div>
|
|
|
2109 |
</div>
|
|
|
2110 |
<!-- /.card-body -->
|
|
|
2111 |
</div>
|
|
|
2112 |
<!-- /.card -->
|
|
|
2113 |
|
|
|
2114 |
</div>
|
|
|
2115 |
</div>
|
1 |
www |
2116 |
|
16910 |
efrain |
2117 |
<div class="row">
|
|
|
2118 |
<div class="col-12 mt-3">
|
|
|
2119 |
|
|
|
2120 |
<div class="card">
|
|
|
2121 |
<div class="card-header">
|
|
|
2122 |
<h6 class="card-title">
|
|
|
2123 |
LABEL_GRAPH_LAST_WEEK_TITLE
|
|
|
2124 |
</h6>
|
|
|
2125 |
</div>
|
|
|
2126 |
<div class="card-body">
|
|
|
2127 |
<div class="row">
|
|
|
2128 |
<div class="col-5 col-sm-3">
|
|
|
2129 |
<div class="nav nav-tabs nav-tabs-vertical" id="v-tab" role="tablist" aria-orientation="vertical">
|
|
|
2130 |
<a class="nav-link active" id="vert-tabs-last-week-company-tab" data-toggle="pill" href="#vert-tabs-last-week-general" role="tab" aria-controls="vert-tabs-last-week-general" aria-selected="true">LABEL_GENERAL</a>
|
|
|
2131 |
|
|
|
2132 |
<?php if(!empty($reportsLastWeek['companies'])) : ?>
|
|
|
2133 |
<a class="nav-link" id="vert-tabs-last-week-company-tab" data-toggle="pill" href="#vert-tabs-last-week-company" role="tab" aria-controls="vert-tabs-last-week-company" aria-selected="true">LABEL_COMPANIES</a>
|
|
|
2134 |
<?php endif;?>
|
|
|
2135 |
|
|
|
2136 |
<?php if(!empty($reportsLastWeek['functions'])) : ?>
|
|
|
2137 |
<a class="nav-link" id="vert-tabs-last-week-function-tab" data-toggle="pill" href="#vert-tabs-last-week-function" role="tab" aria-controls="vert-tabs-last-week-function" aria-selected="false">LABEL_FUNCTIONS</a>
|
|
|
2138 |
<?php endif;?>
|
|
|
2139 |
|
|
|
2140 |
<?php if(!empty($reportsLastWeek['groups'])) : ?>
|
|
|
2141 |
<a class="nav-link" id="vert-tabs-last-week-group-tab" data-toggle="pill" href="#vert-tabs-last-week-group" role="tab" aria-controls="vert-tabs-last-week-group" aria-selected="false">LABEL_GROUPS</a>
|
|
|
2142 |
<?php endif;?>
|
|
|
2143 |
|
|
|
2144 |
<?php if(!empty($reportsLastWeek['institutions'])) : ?>
|
|
|
2145 |
<a class="nav-link" id="vert-tabs-last-week-institution-tab" data-toggle="pill" href="#vert-tabs-last-week-institution" role="tab" aria-controls="vert-tabs-last-week-institution" aria-selected="false">LABEL_INSTITUTIONS</a>
|
|
|
2146 |
<?php endif;?>
|
|
|
2147 |
|
|
|
2148 |
<?php if(!empty($reportsLastWeek['programs'])) : ?>
|
|
|
2149 |
<a class="nav-link" id="vert-tabs-last-week-program-tab" data-toggle="pill" href="#vert-tabs-last-week-program" role="tab" aria-controls="vert-tabs-last-week-function" aria-selected="false">LABEL_PROGRAMS</a>
|
|
|
2150 |
<?php endif;?>
|
|
|
2151 |
|
|
|
2152 |
<?php if(!empty($reportsLastWeek['partners'])) : ?>
|
|
|
2153 |
<a class="nav-link" id="vert-tabs-last-week-partner-tab" data-toggle="pill" href="#vert-tabs-last-week-partner" role="tab" aria-controls="vert-tabs-last-week-group" aria-selected="false">LABEL_PARTNERS</a>
|
|
|
2154 |
<?php $active = ''; endif;?>
|
|
|
2155 |
|
|
|
2156 |
<?php if(!empty($reportsLastWeek['sectors'])) : ?>
|
|
|
2157 |
<a class="nav-link" id="vert-tabs-last-week-sector-tab" data-toggle="pill" href="#vert-tabs-last-week-sector" role="tab" aria-controls="vert-tabs-last-week-institution" aria-selected="false">LABEL_SECTORS</a>
|
|
|
2158 |
<?php endif;?>
|
|
|
2159 |
|
|
|
2160 |
<?php if(!empty($reportsLastWeek['student_types'])) : ?>
|
|
|
2161 |
<a class="nav-link" id="vert-tabs-last-week-student-type-tab" data-toggle="pill" href="#vert-tabs-last-week-student-type" role="tab" aria-controls="vert-tabs-last-week-institution" aria-selected="false">LABEL_STUDENT_TYPES</a>
|
|
|
2162 |
<?php endif;?>
|
|
|
2163 |
</div>
|
|
|
2164 |
</div>
|
|
|
2165 |
<div class="col-7 col-sm-9">
|
|
|
2166 |
<div class="tab-content" id="vert-tabs-tabContent">
|
|
|
2167 |
<div class="tab-pane text-left fade show active" id="vert-tabs-last-week-general" role="tabpanel" aria-labelledby="vert-tabs-last-week-general-tab">
|
|
|
2168 |
<div class="chart">
|
|
|
2169 |
<canvas id="barChartLastWeekGeneral" style="min-height: 250px; height: 250px; max-height: 250px; max-width: 100%;"></canvas>
|
|
|
2170 |
</div>
|
|
|
2171 |
</div>
|
|
|
2172 |
|
|
|
2173 |
<?php if(!empty($reportsLastWeek['companies'])) : ?>
|
|
|
2174 |
<div class="tab-pane text-left fade" id="vert-tabs-last-week-company" role="tabpanel" aria-labelledby="vert-tabs-last-week-company-tab">
|
|
|
2175 |
<div class="chart">
|
|
|
2176 |
<canvas id="barChartLastWeekCompanies" style="min-height: 250px; height: 250px; max-height: 250px; max-width: 100%;"></canvas>
|
|
|
2177 |
</div>
|
|
|
2178 |
</div>
|
|
|
2179 |
<?php endif;?>
|
|
|
2180 |
|
|
|
2181 |
<?php if(!empty($reportsLastWeek['functions'])) : ?>
|
|
|
2182 |
<div class="tab-pane fade" id="vert-tabs-last-week-function" role="tabpanel" aria-labelledby="vert-tabs-last-week-function-tab">
|
|
|
2183 |
<div class="chart">
|
|
|
2184 |
<canvas id="barChartLastWeekFunctions" style="min-height: 250px; height: 250px; max-height: 250px; max-width: 100%;"></canvas>
|
|
|
2185 |
</div>
|
|
|
2186 |
</div>
|
|
|
2187 |
<?php endif;?>
|
|
|
2188 |
|
|
|
2189 |
<?php if(!empty($reportsLastWeek['groups'])) : ?>
|
|
|
2190 |
<div class="tab-pane fade" id="vert-tabs-last-week-group" role="tabpanel" aria-labelledby="vert-tabs-last-week-group-tab">
|
|
|
2191 |
<div class="chart">
|
|
|
2192 |
<canvas id="barChartLastWeekGroups" style="min-height: 250px; height: 250px; max-height: 250px; max-width: 100%;"></canvas>
|
|
|
2193 |
</div>
|
|
|
2194 |
</div>
|
|
|
2195 |
<?php endif;?>
|
|
|
2196 |
|
|
|
2197 |
<?php if(!empty($reportsLastWeek['institutions'])) : ?>
|
|
|
2198 |
<div class="tab-pane fade" id="vert-tabs-last-week-institution" role="tabpanel" aria-labelledby="vert-tabs-last-week-institution-tab">
|
|
|
2199 |
<div class="chart">
|
|
|
2200 |
<canvas id="barChartLastWeekInstitutions" style="min-height: 250px; height: 250px; max-height: 250px; max-width: 100%;"></canvas>
|
|
|
2201 |
</div>
|
|
|
2202 |
</div>
|
|
|
2203 |
<?php endif;?>
|
|
|
2204 |
|
|
|
2205 |
<?php if(!empty($reportsLastWeek['programs'])) : ?>
|
|
|
2206 |
<div class="tab-pane fade" id="vert-tabs-last-week-program" role="tabpanel" aria-labelledby="vert-tabs-last-week-program-tab">
|
|
|
2207 |
<div class="chart">
|
|
|
2208 |
<canvas id="barChartLastWeekPrograms" style="min-height: 250px; height: 250px; max-height: 250px; max-width: 100%;"></canvas>
|
|
|
2209 |
</div>
|
|
|
2210 |
</div>
|
|
|
2211 |
<?php endif;?>
|
|
|
2212 |
|
|
|
2213 |
<?php if(!empty($reportsLastWeek['partners'])) : ?>
|
|
|
2214 |
<div class="tab-pane fade" id="vert-tabs-last-week-partner" role="tabpanel" aria-labelledby="vert-tabs-last-week-partner-tab">
|
|
|
2215 |
<div class="chart">
|
|
|
2216 |
<canvas id="barChartLastWeekPartners" style="min-height: 250px; height: 250px; max-height: 250px; max-width: 100%;"></canvas>
|
|
|
2217 |
</div>
|
|
|
2218 |
</div>
|
|
|
2219 |
<?php endif;?>
|
|
|
2220 |
|
|
|
2221 |
<?php if(!empty($reportsLastWeek['sectors'])) : ?>
|
|
|
2222 |
<div class="tab-pane fade" id="vert-tabs-last-week-sector" role="tabpanel" aria-labelledby="vert-tabs-last-week-sector-tab">
|
|
|
2223 |
<div class="chart">
|
|
|
2224 |
<canvas id="barChartLastWeekSectors" style="min-height: 250px; height: 250px; max-height: 250px; max-width: 100%;"></canvas>
|
|
|
2225 |
</div>
|
|
|
2226 |
</div>
|
|
|
2227 |
<?php endif;?>
|
|
|
2228 |
|
|
|
2229 |
<?php if(!empty($reportsLastWeek['student_types'])) : ?>
|
|
|
2230 |
<div class="tab-pane fade" id="vert-tabs-last-week-student-type" role="tabpanel" aria-labelledby="vert-tabs-last-week-student-type-tab">
|
|
|
2231 |
<div class="chart">
|
|
|
2232 |
<canvas id="barChartLastWeekStudentTypes" style="min-height: 250px; height: 250px; max-height: 250px; max-width: 100%;"></canvas>
|
|
|
2233 |
</div>
|
|
|
2234 |
</div>
|
|
|
2235 |
<?php endif;?>
|
|
|
2236 |
</div>
|
|
|
2237 |
</div>
|
1 |
www |
2238 |
</div>
|
|
|
2239 |
</div>
|
16910 |
efrain |
2240 |
<!-- /.card -->
|
|
|
2241 |
</div>
|
|
|
2242 |
|
|
|
2243 |
</div>
|
1 |
www |
2244 |
</div>
|
16910 |
efrain |
2245 |
|
|
|
2246 |
<div class="row">
|
|
|
2247 |
<div class="col-12 mt-3">
|
1 |
www |
2248 |
|
16910 |
efrain |
2249 |
<div class="card">
|
|
|
2250 |
<div class="card-header">
|
|
|
2251 |
<h6 class="card-title">
|
|
|
2252 |
LABEL_GRAPH_CAPSULE_RESUME_TITLE
|
|
|
2253 |
</h6>
|
|
|
2254 |
</div>
|
|
|
2255 |
<div class="card-body">
|
|
|
2256 |
<div class="row">
|
|
|
2257 |
<div class="col-5 col-sm-3">
|
|
|
2258 |
<div class="nav nav-tabs nav-tabs-vertical" id="v-tab" role="tablist" aria-orientation="vertical">
|
|
|
2259 |
<a class="nav-link active" id="vert-tabs-capsule-resume-company-tab" data-toggle="pill" href="#vert-tabs-capsule-resume-general" role="tab" aria-controls="vert-tabs-capsule-resume-general" aria-selected="true">LABEL_GENERAL</a>
|
|
|
2260 |
|
|
|
2261 |
<?php if(!empty($reportsCapsuleResume['companies'])) : ?>
|
|
|
2262 |
<a class="nav-link" id="vert-tabs-capsule-resume-company-tab" data-toggle="pill" href="#vert-tabs-capsule-resume-company" role="tab" aria-controls="vert-tabs-capsule-resume-company" aria-selected="true">LABEL_COMPANIES</a>
|
|
|
2263 |
<?php endif;?>
|
|
|
2264 |
|
|
|
2265 |
<?php if(!empty($reportsCapsuleResume['functions'])) : ?>
|
|
|
2266 |
<a class="nav-link" id="vert-tabs-capsule-resume-function-tab" data-toggle="pill" href="#vert-tabs-capsule-resume-function" role="tab" aria-controls="vert-tabs-capsule-resume-function" aria-selected="false">LABEL_FUNCTIONS</a>
|
|
|
2267 |
<?php endif;?>
|
|
|
2268 |
|
|
|
2269 |
<?php if(!empty($reportsCapsuleResume['groups'])) : ?>
|
|
|
2270 |
<a class="nav-link" id="vert-tabs-capsule-resume-group-tab" data-toggle="pill" href="#vert-tabs-capsule-resume-group" role="tab" aria-controls="vert-tabs-capsule-resume-group" aria-selected="false">LABEL_GROUPS</a>
|
|
|
2271 |
<?php endif;?>
|
|
|
2272 |
|
|
|
2273 |
<?php if(!empty($reportsCapsuleResume['institutions'])) : ?>
|
|
|
2274 |
<a class="nav-link" id="vert-tabs-capsule-resume-institution-tab" data-toggle="pill" href="#vert-tabs-capsule-resume-institution" role="tab" aria-controls="vert-tabs-capsule-resume-institution" aria-selected="false">LABEL_INSTITUTIONS</a>
|
|
|
2275 |
<?php endif;?>
|
|
|
2276 |
|
|
|
2277 |
<?php if(!empty($reportsCapsuleResume['programs'])) : ?>
|
|
|
2278 |
<a class="nav-link" id="vert-tabs-capsule-resume-program-tab" data-toggle="pill" href="#vert-tabs-capsule-resume-program" role="tab" aria-controls="vert-tabs-capsule-resume-function" aria-selected="false">LABEL_PROGRAMS</a>
|
|
|
2279 |
<?php endif;?>
|
|
|
2280 |
|
|
|
2281 |
<?php if(!empty($reportsCapsuleResume['partners'])) : ?>
|
|
|
2282 |
<a class="nav-link" id="vert-tabs-capsule-resume-partner-tab" data-toggle="pill" href="#vert-tabs-capsule-resume-partner" role="tab" aria-controls="vert-tabs-capsule-resume-group" aria-selected="false">LABEL_PARTNERS</a>
|
|
|
2283 |
<?php $active = ''; endif;?>
|
|
|
2284 |
|
|
|
2285 |
<?php if(!empty($reportsCapsuleResume['sectors'])) : ?>
|
|
|
2286 |
<a class="nav-link" id="vert-tabs-capsule-resume-sector-tab" data-toggle="pill" href="#vert-tabs-capsule-resume-sector" role="tab" aria-controls="vert-tabs-capsule-resume-institution" aria-selected="false">LABEL_SECTORS</a>
|
|
|
2287 |
<?php endif;?>
|
|
|
2288 |
|
|
|
2289 |
<?php if(!empty($reportsCapsuleResume['student_types'])) : ?>
|
|
|
2290 |
<a class="nav-link" id="vert-tabs-capsule-resume-student-type-tab" data-toggle="pill" href="#vert-tabs-capsule-resume-student-type" role="tab" aria-controls="vert-tabs-capsule-resume-institution" aria-selected="false">LABEL_STUDENT_TYPES</a>
|
|
|
2291 |
<?php endif;?>
|
|
|
2292 |
</div>
|
|
|
2293 |
</div>
|
|
|
2294 |
<div class="col-7 col-sm-9">
|
|
|
2295 |
<div class="tab-content" id="vert-tabs-tabContent">
|
|
|
2296 |
<div class="tab-pane text-left fade show active" id="vert-tabs-capsule-resume-general" role="tabpanel" aria-labelledby="vert-tabs-capsule-resume-general-tab">
|
|
|
2297 |
<div class="chart">
|
|
|
2298 |
<canvas id="barChartCapsuleResumeGeneral" style="min-height: 250px; height: 250px; max-height: 250px; max-width: 100%;"></canvas>
|
|
|
2299 |
</div>
|
|
|
2300 |
</div>
|
|
|
2301 |
|
|
|
2302 |
<?php if(!empty($reportsCapsuleResume['companies'])) : ?>
|
|
|
2303 |
<div class="tab-pane text-left fade" id="vert-tabs-capsule-resume-company" role="tabpanel" aria-labelledby="vert-tabs-capsule-resume-company-tab">
|
|
|
2304 |
<div class="chart">
|
|
|
2305 |
<canvas id="barChartCapsuleResumeCompanies" style="min-height: 250px; height: 250px; max-height: 250px; max-width: 100%;"></canvas>
|
|
|
2306 |
</div>
|
|
|
2307 |
</div>
|
|
|
2308 |
<?php endif;?>
|
|
|
2309 |
|
|
|
2310 |
<?php if(!empty($reportsCapsuleResume['functions'])) : ?>
|
|
|
2311 |
<div class="tab-pane fade" id="vert-tabs-capsule-resume-function" role="tabpanel" aria-labelledby="vert-tabs-capsule-resume-function-tab">
|
|
|
2312 |
<div class="chart">
|
|
|
2313 |
<canvas id="barChartCapsuleResumeFunctions" style="min-height: 250px; height: 250px; max-height: 250px; max-width: 100%;"></canvas>
|
|
|
2314 |
</div>
|
|
|
2315 |
</div>
|
|
|
2316 |
<?php endif;?>
|
|
|
2317 |
|
|
|
2318 |
<?php if(!empty($reportsCapsuleResume['groups'])) : ?>
|
|
|
2319 |
<div class="tab-pane fade" id="vert-tabs-capsule-resume-group" role="tabpanel" aria-labelledby="vert-tabs-capsule-resume-group-tab">
|
|
|
2320 |
<div class="chart">
|
|
|
2321 |
<canvas id="barChartCapsuleResumeGroups" style="min-height: 250px; height: 250px; max-height: 250px; max-width: 100%;"></canvas>
|
|
|
2322 |
</div>
|
|
|
2323 |
</div>
|
|
|
2324 |
<?php endif;?>
|
|
|
2325 |
|
|
|
2326 |
<?php if(!empty($reportsCapsuleResume['institutions'])) : ?>
|
|
|
2327 |
<div class="tab-pane fade" id="vert-tabs-capsule-resume-institution" role="tabpanel" aria-labelledby="vert-tabs-capsule-resume-institution-tab">
|
|
|
2328 |
<div class="chart">
|
|
|
2329 |
<canvas id="barChartCapsuleResumeInstitutions" style="min-height: 250px; height: 250px; max-height: 250px; max-width: 100%;"></canvas>
|
|
|
2330 |
</div>
|
|
|
2331 |
</div>
|
|
|
2332 |
<?php endif;?>
|
|
|
2333 |
|
|
|
2334 |
<?php if(!empty($reportsCapsuleResume['programs'])) : ?>
|
|
|
2335 |
<div class="tab-pane fade" id="vert-tabs-capsule-resume-program" role="tabpanel" aria-labelledby="vert-tabs-capsule-resume-program-tab">
|
|
|
2336 |
<div class="chart">
|
|
|
2337 |
<canvas id="barChartCapsuleResumePrograms" style="min-height: 250px; height: 250px; max-height: 250px; max-width: 100%;"></canvas>
|
|
|
2338 |
</div>
|
|
|
2339 |
</div>
|
|
|
2340 |
<?php endif;?>
|
|
|
2341 |
|
|
|
2342 |
<?php if(!empty($reportsCapsuleResume['partners'])) : ?>
|
|
|
2343 |
<div class="tab-pane fade" id="vert-tabs-capsule-resume-partner" role="tabpanel" aria-labelledby="vert-tabs-capsule-resume-partner-tab">
|
|
|
2344 |
<div class="chart">
|
|
|
2345 |
<canvas id="barChartCapsuleResumePartners" style="min-height: 250px; height: 250px; max-height: 250px; max-width: 100%;"></canvas>
|
|
|
2346 |
</div>
|
|
|
2347 |
</div>
|
|
|
2348 |
<?php endif;?>
|
|
|
2349 |
|
|
|
2350 |
<?php if(!empty($reportsCapsuleResume['sectors'])) : ?>
|
|
|
2351 |
<div class="tab-pane fade" id="vert-tabs-capsule-resume-sector" role="tabpanel" aria-labelledby="vert-tabs-capsule-resume-sector-tab">
|
|
|
2352 |
<div class="chart">
|
|
|
2353 |
<canvas id="barChartCapsuleResumeSectors" style="min-height: 250px; height: 250px; max-height: 250px; max-width: 100%;"></canvas>
|
|
|
2354 |
</div>
|
|
|
2355 |
</div>
|
|
|
2356 |
<?php endif;?>
|
|
|
2357 |
|
|
|
2358 |
<?php if(!empty($reportsCapsuleResume['student_types'])) : ?>
|
|
|
2359 |
<div class="tab-pane fade" id="vert-tabs-capsule-resume-student-type" role="tabpanel" aria-labelledby="vert-tabs-capsule-resume-student-type-tab">
|
|
|
2360 |
<div class="chart">
|
|
|
2361 |
<canvas id="barChartCapsuleResumeStudentTypes" style="min-height: 250px; height: 250px; max-height: 250px; max-width: 100%;"></canvas>
|
|
|
2362 |
</div>
|
|
|
2363 |
</div>
|
|
|
2364 |
<?php endif;?>
|
|
|
2365 |
</div>
|
|
|
2366 |
</div>
|
1 |
www |
2367 |
</div>
|
|
|
2368 |
</div>
|
16910 |
efrain |
2369 |
<!-- /.card -->
|
|
|
2370 |
</div>
|
|
|
2371 |
|
|
|
2372 |
</div>
|
1 |
www |
2373 |
</div>
|
16910 |
efrain |
2374 |
|
|
|
2375 |
|
1 |
www |
2376 |
|
|
|
2377 |
<?php
|
|
|
2378 |
if(!empty($reportsStudentsTotal['companies'])
|
|
|
2379 |
|| !empty($reportsStudentsTotal['functions'])
|
|
|
2380 |
|| !empty($reportsStudentsTotal['groups'])
|
|
|
2381 |
|| !empty($reportsStudentsTotal['institutions'])
|
|
|
2382 |
|| !empty($reportsStudentsTotal['programs'])
|
|
|
2383 |
|| !empty($reportsStudentsTotal['partners'])
|
|
|
2384 |
|| !empty($reportsStudentsTotal['sectors'])
|
|
|
2385 |
|| !empty($reportsStudentsTotal['student_types'])
|
|
|
2386 |
|
|
|
2387 |
) :
|
|
|
2388 |
|
|
|
2389 |
?>
|
16910 |
efrain |
2390 |
<div class="row">
|
|
|
2391 |
<div class="col-12 mt-3">
|
|
|
2392 |
|
|
|
2393 |
<div class="card">
|
|
|
2394 |
<div class="card-header">
|
|
|
2395 |
<h6 class="card-title">
|
|
|
2396 |
LABEL_GRAPH_TOTAL_TITLE
|
|
|
2397 |
</h6>
|
|
|
2398 |
</div>
|
|
|
2399 |
<div class="card-body">
|
|
|
2400 |
<div class="row">
|
|
|
2401 |
<div class="col-5 col-sm-3">
|
|
|
2402 |
<div class="nav nav-tabs nav-tabs-vertical" id="v-tab" role="tablist" aria-orientation="vertical">
|
|
|
2403 |
|
|
|
2404 |
<?php $active = 'active'; ?>
|
|
|
2405 |
<?php if(!empty($reportsStudentsTotal['companies'])) : ?>
|
|
|
2406 |
<a class="nav-link <?php echo $active ?>" id="vert-tabs-total-company-tab" data-toggle="pill" href="#vert-tabs-total-company" role="tab" aria-controls="vert-tabs-total-company" aria-selected="true">LABEL_COMPANIES</a>
|
|
|
2407 |
<?php $active = ''; endif;?>
|
|
|
2408 |
|
|
|
2409 |
<?php if(!empty($reportsStudentsTotal['functions'])) : ?>
|
|
|
2410 |
<a class="nav-link <?php echo $active ?>" id="vert-tabs-total-function-tab" data-toggle="pill" href="#vert-tabs-total-function" role="tab" aria-controls="vert-tabs-total-function" aria-selected="false">LABEL_FUNCTIONS</a>
|
|
|
2411 |
<?php $active = ''; endif;?>
|
|
|
2412 |
|
|
|
2413 |
<?php if(!empty($reportsStudentsTotal['groups'])) : ?>
|
|
|
2414 |
<a class="nav-link <?php echo $active ?>" id="vert-tabs-total-group-tab" data-toggle="pill" href="#vert-tabs-total-group" role="tab" aria-controls="vert-tabs-total-group" aria-selected="false">LABEL_GROUPS</a>
|
|
|
2415 |
<?php $active = ''; endif;?>
|
|
|
2416 |
|
|
|
2417 |
<?php if(!empty($reportsStudentsTotal['institutions'])) : ?>
|
|
|
2418 |
<a class="nav-link <?php echo $active ?>" id="vert-tabs-total-institution-tab" data-toggle="pill" href="#vert-tabs-total-institution" role="tab" aria-controls="vert-tabs-total-institution" aria-selected="false">LABEL_INSTITUTIONS</a>
|
|
|
2419 |
<?php $active = ''; endif;?>
|
|
|
2420 |
|
|
|
2421 |
<?php if(!empty($reportsStudentsTotal['programs'])) : ?>
|
|
|
2422 |
<a class="nav-link <?php echo $active ?>" id="vert-tabs-total-program-tab" data-toggle="pill" href="#vert-tabs-total-program" role="tab" aria-controls="vert-tabs-total-function" aria-selected="false">LABEL_PROGRAMS</a>
|
|
|
2423 |
<?php $active = ''; endif;?>
|
|
|
2424 |
|
|
|
2425 |
<?php if(!empty($reportsStudentsTotal['partners'])) : ?>
|
|
|
2426 |
<a class="nav-link <?php echo $active ?>" id="vert-tabs-total-partner-tab" data-toggle="pill" href="#vert-tabs-total-partner" role="tab" aria-controls="vert-tabs-total-group" aria-selected="false">LABEL_PARTNERS</a>
|
|
|
2427 |
<?php $active = ''; $active = ''; endif;?>
|
|
|
2428 |
|
|
|
2429 |
<?php if(!empty($reportsStudentsTotal['sectors'])) : ?>
|
|
|
2430 |
<a class="nav-link <?php echo $active ?>" id="vert-tabs-total-sector-tab" data-toggle="pill" href="#vert-tabs-total-sector" role="tab" aria-controls="vert-tabs-total-institution" aria-selected="false">LABEL_SECTORS</a>
|
|
|
2431 |
<?php $active = ''; endif;?>
|
|
|
2432 |
|
|
|
2433 |
<?php if(!empty($reportsStudentsTotal['student_types'])) : ?>
|
|
|
2434 |
<a class="nav-link <?php echo $active ?>" id="vert-tabs-total-student-type-tab" data-toggle="pill" href="#vert-tabs-total-student-type" role="tab" aria-controls="vert-tabs-total-institution" aria-selected="false">LABEL_STUDENT_TYPES</a>
|
|
|
2435 |
<?php $active = ''; endif;?>
|
|
|
2436 |
</div>
|
|
|
2437 |
</div>
|
|
|
2438 |
<div class="col-7 col-sm-9">
|
|
|
2439 |
<div class="tab-content" id="vert-tabs-tabContent">
|
|
|
2440 |
<?php $active = 'show active' ; ?>
|
|
|
2441 |
<?php if(!empty($reportsStudentsTotal['companies'])) : ?>
|
|
|
2442 |
<div class="tab-pane text-left fade <?php echo $active ?>" id="vert-tabs-total-company" role="tabpanel" aria-labelledby="vert-tabs-total-company-tab">
|
|
|
2443 |
<div class="chart">
|
|
|
2444 |
<canvas id="barChartTotalCompanies" style="min-height: 250px; height: 250px; max-height: 250px; max-width: 100%;"></canvas>
|
|
|
2445 |
</div>
|
|
|
2446 |
</div>
|
|
|
2447 |
<?php $active = ''; endif;?>
|
|
|
2448 |
|
|
|
2449 |
<?php if(!empty($reportsStudentsTotal['functions'])) : ?>
|
|
|
2450 |
<div class="tab-pane fade <?php echo $active ?>" id="vert-tabs-total-function" role="tabpanel" aria-labelledby="vert-tabs-total-function-tab">
|
|
|
2451 |
<div class="chart">
|
|
|
2452 |
<canvas id="barChartTotalFunctions" style="min-height: 250px; height: 250px; max-height: 250px; max-width: 100%;"></canvas>
|
|
|
2453 |
</div>
|
|
|
2454 |
</div>
|
|
|
2455 |
<?php $active = ''; endif;?>
|
|
|
2456 |
|
|
|
2457 |
<?php if(!empty($reportsStudentsTotal['groups'])) : ?>
|
|
|
2458 |
<div class="tab-pane fade <?php echo $active ?>" id="vert-tabs-total-group" role="tabpanel" aria-labelledby="vert-tabs-total-group-tab">
|
|
|
2459 |
<div class="chart">
|
|
|
2460 |
<canvas id="barChartTotalGroups" style="min-height: 250px; height: 250px; max-height: 250px; max-width: 100%;"></canvas>
|
|
|
2461 |
</div>
|
|
|
2462 |
</div>
|
|
|
2463 |
<?php $active = ''; endif;?>
|
|
|
2464 |
|
|
|
2465 |
<?php if(!empty($reportsStudentsTotal['institutions'])) : ?>
|
|
|
2466 |
<div class="tab-pane fade <?php echo $active ?>" id="vert-tabs-total-institution" role="tabpanel" aria-labelledby="vert-tabs-total-institution-tab">
|
|
|
2467 |
<div class="chart">
|
|
|
2468 |
<canvas id="barChartTotalInstitutions" style="min-height: 250px; height: 250px; max-height: 250px; max-width: 100%;"></canvas>
|
|
|
2469 |
</div>
|
|
|
2470 |
</div>
|
|
|
2471 |
<?php $active = ''; endif;?>
|
|
|
2472 |
|
|
|
2473 |
<?php if(!empty($reportsStudentsTotal['programs'])) : ?>
|
|
|
2474 |
<div class="tab-pane fade <?php echo $active ?>" id="vert-tabs-total-program" role="tabpanel" aria-labelledby="vert-tabs-total-program-tab">
|
|
|
2475 |
<div class="chart">
|
|
|
2476 |
<canvas id="barChartTotalPrograms" style="min-height: 250px; height: 250px; max-height: 250px; max-width: 100%;"></canvas>
|
|
|
2477 |
</div>
|
|
|
2478 |
</div>
|
|
|
2479 |
<?php $active = ''; endif;?>
|
|
|
2480 |
|
|
|
2481 |
<?php if(!empty($reportsStudentsTotal['partners'])) : ?>
|
|
|
2482 |
<div class="tab-pane fade <?php echo $active ?>" id="vert-tabs-total-partner" role="tabpanel" aria-labelledby="vert-tabs-total-partner-tab">
|
|
|
2483 |
<div class="chart">
|
|
|
2484 |
<canvas id="barChartTotalPartners" style="min-height: 250px; height: 250px; max-height: 250px; max-width: 100%;"></canvas>
|
|
|
2485 |
</div>
|
|
|
2486 |
</div>
|
|
|
2487 |
<?php $active = ''; endif;?>
|
|
|
2488 |
|
|
|
2489 |
<?php if(!empty($reportsStudentsTotal['sectors'])) : ?>
|
|
|
2490 |
<div class="tab-pane fade <?php echo $active ?>" id="vert-tabs-total-sector" role="tabpanel" aria-labelledby="vert-tabs-total-sector-tab">
|
|
|
2491 |
<div class="chart">
|
|
|
2492 |
<canvas id="barChartTotalSectors" style="min-height: 250px; height: 250px; max-height: 250px; max-width: 100%;"></canvas>
|
|
|
2493 |
</div>
|
|
|
2494 |
</div>
|
|
|
2495 |
<?php $active = ''; endif;?>
|
|
|
2496 |
|
|
|
2497 |
<?php if(!empty($reportsStudentsTotal['student_types'])) : ?>
|
|
|
2498 |
<div class="tab-pane fade <?php echo $active ?>" id="vert-tabs-total-student-type" role="tabpanel" aria-labelledby="vert-tabs-total-student-type-tab">
|
|
|
2499 |
<div class="chart">
|
|
|
2500 |
<canvas id="barChartTotalStudentTypes" style="min-height: 250px; height: 250px; max-height: 250px; max-width: 100%;"></canvas>
|
|
|
2501 |
</div>
|
|
|
2502 |
</div>
|
|
|
2503 |
<?php $active = ''; endif;?>
|
|
|
2504 |
</div>
|
|
|
2505 |
</div>
|
|
|
2506 |
</div>
|
1 |
www |
2507 |
</div>
|
16910 |
efrain |
2508 |
<!-- /.card -->
|
|
|
2509 |
</div>
|
|
|
2510 |
</div>
|
1 |
www |
2511 |
</div>
|
|
|
2512 |
<?php endif; ?>
|
|
|
2513 |
|
16910 |
efrain |
2514 |
</div>
|
|
|
2515 |
<div class="card-footer text-right">
|
|
|
2516 |
|
|
|
2517 |
</div>
|
|
|
2518 |
</div>
|
|
|
2519 |
</div>
|