Changeset 15712 for schedule/Module/calendar.php
- Timestamp:
- 05/20/13 08:24:28 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r15711 r15712 89 89 document.getElementById('data').innerHTML=newdata; 90 90 $(function () { 91 var data = '[2 ,5,6,7,8,9,10,12,5,6,7]';91 var data = '[23,41]'; 92 92 93 93 … … 106 106 $.each(data, function (i, ligne) { 107 107 var ind = names.indexOf(ligne.name), 108 splited = ligne.data.split(','), 109 //x = parseFloat(splited[0]), 110 y = parseFloat(splited[1]); 111 if (ind == -1) { 108 112 109 ind = names.push(ligne.name) - 1; 113 110 options.series.push({ … … 116 113 }); 117 114 } 118 if(!isNaN(x) && !isNaN(y)){119 options.series[ind].data.push([y]);120 }121 115 }); 122 116
Note:
See TracChangeset
for help on using the changeset viewer.