Ignore:
Timestamp:
05/24/13 18:44:38 (11 years ago)
Author:
tanio
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • schedule/Module/calendar.php

    r16177 r16178  
    8888                                                        function loaddata()
    8989                                                        {
     90                                                                var options = {
     91                                                                                        chart: {
     92                                                                                                renderTo: 'container'
     93                                                                                                /* display to div Graph*/
     94                                                                                               
     95                                                                                        },
     96                                                                                       
     97                                                                                        xAxis: {
     98                                                                                                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"]
     99                                                                                        },
     100                                                                                        series:[], /* array of Data  */
     101                                                                                       
     102                                                                                        remove:function()
     103                                                                                        {
     104                                                                                                return false;
     105                                                                                        },
     106                                                                                       
     107                                                                                         exporting: {                                                   /*--------------------*/
     108                                                                                                buttons: {                                                      /*                                        */
     109                                                                                                        exportButton: {                                 /*              Export            */
     110                                                                                                                menuItems: null,                        /*                to              */
     111                                                                                                                onclick: function() {           /*                      PNG.file  */
     112                                                                                                                        this.exportChart();             /*--------------------*/
     113                                                                                                                }
     114                                                                                                        }
     115                                                                                                }
     116                                                                                        },
     117                                                                                        plotOptions : {
     118                                                                                       
     119                                                                                        series : {
     120                                                                                                        lineWidth: 3,
     121                                                                                       
     122                                                                                                marker : {
     123                                                                                                        enabled:false
     124                                                                                                }
     125                                                                                        }
     126                                                                                }                               
     127                                                                        };
    90128                                                                for(var i=0; i<source.length;i++)
    91129                                                                {
     
    217255                                                                loadGraph(DataValue,Time);
    218256                                                        }
    219                                                         var options = {
    220                                                                                         chart: {
    221                                                                                                 renderTo: 'container'
    222                                                                                                 /* display to div Graph*/
    223                                                                                                
    224                                                                                         },
    225                                                                                        
    226                                                                                         xAxis: {
    227                                                                                                 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"]
    228                                                                                         },
    229                                                                                         series:[], /* array of Data  */
    230                                                                                        
    231                                                                                         remove:function()
    232                                                                                         {
    233                                                                                                 return false;
    234                                                                                         },
    235                                                                                        
    236                                                                                          exporting: {                                                   /*--------------------*/
    237                                                                                                 buttons: {                                                      /*                                        */
    238                                                                                                         exportButton: {                                 /*              Export            */
    239                                                                                                                 menuItems: null,                        /*                to              */
    240                                                                                                                 onclick: function() {           /*                      PNG.file  */
    241                                                                                                                         this.exportChart();             /*--------------------*/
    242                                                                                                                 }
    243                                                                                                         }
    244                                                                                                 }
    245                                                                                         },
    246                                                                                         plotOptions : {
    247                                                                                        
    248                                                                                         series : {
    249                                                                                                         lineWidth: 3,
    250                                                                                        
    251                                                                                                 marker : {
    252                                                                                                         enabled:false
    253                                                                                                 }
    254                                                                                         }
    255                                                                                 }                               
    256                                                                         };
     257                                                       
    257258                                                               
    258259                                                               
Note: See TracChangeset for help on using the changeset viewer.