Changeset 16145 for schedule/Module
- Timestamp:
- 05/24/13 16:31:02 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r16144 r16145 78 78 var xml; 79 79 var Time = [[]]; 80 var Data = [[]]; 80 var DataValue = [[]]; 81 var Time1 = []; 81 82 var TimeColon = []; 82 83 var MinTime = []; … … 140 141 { 141 142 var splitted=lines[row].split(','); 142 Time [row]=splitted[0];143 for(var SplittedTime=0;SplittedTime<Time .length;SplittedTime++)144 { 145 var SplitTime=Time [SplittedTime].split(':');143 Time1[row]=splitted[0]; 144 for(var SplittedTime=0;SplittedTime<Time1.length;SplittedTime++) 145 { 146 var SplitTime=Time1[SplittedTime].split(':'); 146 147 TimeColon[SplittedTime]=SplitTime[0]; 147 148 MinTime[SplittedTime]=(parseInt(SplitTime[1]/60*100)||parseInt("0")); … … 160 161 } 161 162 else 162 Data [i][Data]=parseFlaot(DataVal[Data]);163 DataValue[i][Data]=parseFlaot(DataVal[Data]); 163 164 } 164 165 for(var ConTime=1;ConTime<HourTime.length-1;ConTime++) … … 244 245 chart.series[src].addPoint({ // series[0] means index of zero in data; 245 246 x:Time[src][DataCnt], // Time 246 y:Data [src][DataCnt] // Value247 y:DataValue[src][DataCnt] // Value 247 248 }) 248 249
Note:
See TracChangeset
for help on using the changeset viewer.