Changeset 16251 for schedule/Module


Ignore:
Timestamp:
05/25/13 05:28:47 (11 years ago)
Author:
tanio
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • schedule/Module/calendar.php

    r16250 r16251  
    142142                                                                                if(xml.readyState==4 && xml.status ==200)
    143143                                                                                {
     144                                                                                                        var options = {
     145                                                                                                                chart: {
     146                                                                                                                        renderTo: 'Graph' /* display to div Graph*/
     147                                                                                                                       
     148                                                                                                                },
     149                                                                                                               
     150                                                                                                                xAxis: {
     151                                                                                                                        categories:["12PM","1PM","2PM","3PM","4PM","5PM","6PM","7PM","8PM","9PM","10PM","11PM","12AM","1AM","2AM","3AM","4AM","5AM","6AM","7AM","8AM","9AM","10AM","12PM"]
     152                                                                                                                },
     153                                                                                                                series:[], /* array of Data  */
     154                                                                                                               
     155                                                                                                                remove:function()
     156                                                                                                                {
     157                                                                                                                        return false;
     158                                                                                                                },
     159                                                                                                               
     160                                                                                                                 exporting: {                                                   /*--------------------*/
     161                                                                                                                        buttons: {                                                      /*                                        */
     162                                                                                                                                exportButton: {                                 /*              Export            */
     163                                                                                                                                        menuItems: null,                        /*                to              */
     164                                                                                                                                        onclick: function() {           /*                      PNG.file  */
     165                                                                                                                                                this.exportChart();             /*--------------------*/
     166                                                                                                                                        }
     167                                                                                                                                }
     168                                                                                                                        }
     169                                                                                                                },
     170                                                                                                                plotOptions : {
     171                                                                                                               
     172                                                                                                                series : {
     173                                                                                                                                lineWidth: 3,
     174                                                                                                               
     175                                                                                                                        marker : {
     176                                                                                                                                enabled:true
     177                                                                                                                        }
     178                                                                                                                }
     179                                                                                                        }                               
     180                                                                                                };
    144181                                                                                                document.getElementById('data').innerHTML=DataValue;
    145182                                                                                       
     
    274311                                                                }
    275312                                                                //Charts(DataValue[[i]],Time);
    276                                                        
    277                                                        
    278                                                        
    279                                                                
    280                                                                  var options = {
    281                                                                                 chart: {
    282                                                                                         renderTo: 'container' /* display to div Graph*/
    283                                                                                        
    284                                                                                 },
    285                                                                                
    286                                                                                 xAxis: {
    287                                                                                         categories:["12PM","1PM","2PM","3PM","4PM","5PM","6PM","7PM","8PM","9PM","10PM","11PM","12AM","1AM","2AM","3AM","4AM","5AM","6AM","7AM","8AM","9AM","10AM","12PM"]
    288                                                                                 },
    289                                                                                 series:[], /* array of Data  */
    290                                                                                
    291                                                                                 remove:function()
    292                                                                                 {
    293                                                                                         return false;
    294                                                                                 },
    295                                                                                
    296                                                                                  exporting: {                                                   /*--------------------*/
    297                                                                                         buttons: {                                                      /*                                        */
    298                                                                                                 exportButton: {                                 /*              Export            */
    299                                                                                                         menuItems: null,                        /*                to              */
    300                                                                                                         onclick: function() {           /*                      PNG.file  */
    301                                                                                                                 this.exportChart();             /*--------------------*/
    302                                                                                                         }
    303                                                                                                 }
    304                                                                                         }
    305                                                                                 },
    306                                                                                 plotOptions : {
    307                                                                                
    308                                                                                 series : {
    309                                                                                                 lineWidth: 3,
    310                                                                                
    311                                                                                         marker : {
    312                                                                                                 enabled:true
    313                                                                                         }
    314                                                                                 }
    315                                                                         }                               
    316                                                                 };
    317                                                                 $('#container').load("chart.php");
    318313                                                                $('#Graph').fadeOut();
     314                                                                $('container').fadeIn('slow').load("chart.php?year="+year+"&day="+day+"&month="+month);
    319315                                                        }
    320316                                                       
Note: See TracChangeset for help on using the changeset viewer.