Changeset 7229 for temp/trunk/html


Ignore:
Timestamp:
2006/11/01 18:01:59 (20 years ago)
Author:
kakinaka
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/admin/total/index.php

    r6973 r7229  
    413413        $path = GRAPH_DIR . $pngname; 
    414414         
    415             $objGraphPie = new SC_GraphPie(); 
    416              
    417             /* ¥Ç¥Ð¥Ã¥°É½¼¨ÍÑ by naka 
    418             foreach($arrList as $key => $val) { 
    419                 $objGraphPie->debugPrint("key:$key val:$val"); 
    420             } 
    421             */ 
    422              
    423             // ¥Ç¡¼¥¿¤ò¥»¥Ã¥È¤¹¤ë 
    424             $objGraphPie->setData($arrList); 
    425             // ËÞÎã¤ò¥»¥Ã¥È¤¹¤ë 
    426             $objGraphPie->setLegend(array_keys($arrList)); 
    427                                      
    428             // ¥á¥¤¥ó¥¿¥¤¥È¥ëºîÀ® 
    429             list($sy, $sm, $sd) = split("[/ ]" , $sdate); 
    430             list($ey, $em, $ed) = split("[/ ]" , $edate); 
    431             $start_date = $sy . "ǯ" . $sm . "·î" . $sd . "Æü"; 
    432             $end_date = $ey . "ǯ" . $em . "·î" . $ed . "Æü"; 
    433             $objGraphPie->drawTitle("½¸·×´ü´Ö¡§" . $start_date . " - " . $end_date); 
    434                      
    435             // ±ß¥°¥é¥ÕÉÁ²è 
    436             $objGraphPie->drawGraph(); 
    437              
    438             // ¥°¥é¥Õ¤Î½ÐÎÏ 
    439             $objGraphPie->outputGraph(false, $path);             
     415        $objGraphPie = new SC_GraphPie(); 
     416         
     417        /* ¥Ç¥Ð¥Ã¥°É½¼¨ÍÑ by naka 
     418        foreach($arrList as $key => $val) { 
     419            $objGraphPie->debugPrint("key:$key val:$val"); 
     420        } 
     421        */ 
     422         
     423        // ¥Ç¡¼¥¿¤ò¥»¥Ã¥È¤¹¤ë 
     424        $objGraphPie->setData($arrList); 
     425        // ËÞÎã¤ò¥»¥Ã¥È¤¹¤ë 
     426        $objGraphPie->setLegend(array_keys($arrList)); 
     427                                 
     428        // ¥á¥¤¥ó¥¿¥¤¥È¥ëºîÀ® 
     429        list($sy, $sm, $sd) = split("[/ ]" , $sdate); 
     430        list($ey, $em, $ed) = split("[/ ]" , $edate); 
     431        $start_date = $sy . "ǯ" . $sm . "·î" . $sd . "Æü"; 
     432        $end_date = $ey . "ǯ" . $em . "·î" . $ed . "Æü"; 
     433        $objGraphPie->drawTitle("½¸·×´ü´Ö¡§" . $start_date . " - " . $end_date); 
     434                 
     435        // ±ß¥°¥é¥ÕÉÁ²è 
     436        $objGraphPie->drawGraph(); 
     437         
     438        // ¥°¥é¥Õ¤Î½ÐÎÏ 
     439        $objGraphPie->outputGraph(false, $path); 
     440         
     441        sfprintr($objGraphPie->outputGraph(true)); 
    440442 
    441443        // ¥Õ¥¡¥¤¥ë¥Ñ¥¹¤òÊÖ¤¹ 
Note: See TracChangeset for help on using the changeset viewer.