Changeset 15629 for schedule/Module
- Timestamp:
- 05/17/13 12:23:45 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r15624 r15629 28 28 <script type="text/javascript"> 29 29 var DATE_INFO = { 30 20130 207: { klass: "highlight", tooltip: "%Y/%m/%d (%A)<br />That was yesterday" },31 20130 208: { klass: "highlight", tooltip: "And this is TODAY" }30 20130507: { klass: "highlight", tooltip: "%Y/%m/%d (%A)<br />That was yesterday" }, 31 20130508: { klass: "highlight", tooltip: "And this is TODAY" } 32 32 }; 33 33 … … 87 87 newline[row]="["+x[1]+","+0+"]"; 88 88 } 89 else if(f[4]=="" & f[0]=="")89 else if(f[4]=="" && f[0]=="") 90 90 { 91 91 newline[row]="["+x[1]+","+0+"]"; … … 98 98 //source['Mrk 421']=arr; 99 99 document.getElementById('data').innerHTML=newline; 100 101 <?php 102 include 'function/Graph.php'; 103 ?> 100 var chart = new Highcharts.Chart({ 101 chart: { 102 renderTo: 'container' /* display to div Graph*/ 103 }, 104 105 xAxis: { 106 labels: { 107 rotation: -45, 108 align: 'right', 109 }, 110 categories:["","","","","","","","19:00","20:00","21:00","22:00","23:00","24:00","1:00","2:00","3:00","4:00","5:00","6:00","7:00"]}, 111 series:[{data:newline}], /* array of Data */ 112 113 remove:function() 114 { 115 return false; 116 }, 117 118 exporting: { /*--------------------*/ 119 buttons: { /* */ 120 exportButton: { /* Export */ 121 menuItems: null, /* to */ 122 onclick: function() { /* PNG.file */ 123 this.exportChart(); /*--------------------*/ 124 } 125 } 126 } 127 }, 128 129 plotOptions: 130 { 131 series: { 132 marker: { 133 enabled: false, 134 135 } 136 137 } 138 }, 139 140 141 142 }), 143 /*$('#add').click(function(){ 144 145 });*/ 104 146 105 147 }
Note:
See TracChangeset
for help on using the changeset viewer.