Changeset 16229 for schedule/Module/calendar.php
- Timestamp:
- 05/25/13 00:59:11 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r16228 r16229 221 221 } 222 222 LoadData(); 223 function Charts( line)223 function Charts(y,x) 224 224 { 225 225 … … 265 265 { 266 266 chart.addSeries({name:source[src], data:[]}); // created a series of data and add name of displayed source 267 for(var DataCnt=0;DataCnt< DataValue[src].length;DataCnt++)267 for(var DataCnt=0;DataCnt<x[src].length;DataCnt++) 268 268 { 269 269 270 270 chart.series[src].addPoint({ // series[0] means index of zero in data; 271 x: Time[src][DataCnt], // Time272 y: DataValue[src][DataCnt] // Value271 x:x[src][DataCnt], // Time 272 y:y[src][DataCnt] // Value 273 273 }) 274 274 //document.getElementById('data').innerHTML=Time[src][DataCnt];
Note:
See TracChangeset
for help on using the changeset viewer.