Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 16159 | Rev 16162 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 16159 Rev 16161
Línea 39... Línea 39...
39
                    borderColor: '#E69090',
39
                    borderColor: '#E69090',
40
                    borderWidth: 1,
40
                    borderWidth: 1,
41
                    fill: false,
41
                    fill: false,
42
                    data : []
42
                    data : []
43
              	},
43
              	},
44
                // {
44
                {
45
                // 	label : '',
45
                	label : '',
46
                //     backgroundColor: '#66BBBB',
46
                    backgroundColor: '#66BBBB',
47
         		// 	borderColor: '#66BBBB',
47
         			borderColor: '#66BBBB',
48
         		// 	borderWidth: 1,
48
         			borderWidth: 1,
49
                //     fill: false,
49
                    fill: false,
50
                //     data : []
50
                    data : []
51
                // },
51
                },
52
            ]
52
            ]
53
        },
53
        },
54
        options: {
54
        options: {
55
            tooltips: {
55
            tooltips: {
56
                mode: 'index',
56
                mode: 'index',
Línea 78... Línea 78...
78
                'endDate' : endDate
78
                'endDate' : endDate
79
            },
79
            },
80
        }).done(function(response) {
80
        }).done(function(response) {
81
            if(response['success']) {
81
            if(response['success']) {
82
                chartProgressByDay.data.label = response['data'];
82
                chartProgressByDay.data.label = response['data'];
83
                chartProgressByDay.data.datasets[0].data = response['data'][0];
83
                chartProgressByDay.data.datasets[0].data = response['data'];
84
                //chartProgressByDay.data.datasets[1].data = response['data']['added_on'];
84
                chartProgressByDay.data.datasets[1].data = response['data']['added_on'];
Línea 85... Línea 85...
85
                
85
                
86
                chartProgressByDay.update();
86
                chartProgressByDay.update();
87
                console.log(response['data']);
87
                console.log(response['data']);
88
            }else{
88
            }else{