Changeset 15629 for schedule/Module


Ignore:
Timestamp:
05/17/13 12:23:45 (11 years ago)
Author:
tanio
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • schedule/Module/calendar.php

    r15624 r15629  
    2828          <script type="text/javascript">
    2929                   var DATE_INFO = {
    30               20130207: { klass: "highlight", tooltip: "%Y/%m/%d (%A)<br />That was yesterday" },
    31               20130208: { 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" }
    3232                        };
    3333               
     
    8787                                                                                                        newline[row]="["+x[1]+","+0+"]";
    8888                                                                                                }
    89                                                                                                 else if(f[4]=="" & f[0]=="")
     89                                                                                                else if(f[4]=="" && f[0]=="")
    9090                                                                                                {
    9191                                                                                                        newline[row]="["+x[1]+","+0+"]";
     
    9898                                                                        //source['Mrk 421']=arr;
    9999                                                                        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                                                                        });*/
    104146                                                                       
    105147                                                                }
Note: See TracChangeset for help on using the changeset viewer.