Changeset 21443


Ignore:
Timestamp:
2012/02/06 18:52:34 (12 years ago)
Author:
Ringo
Message:

#1611 (2.11の集計グラフについて 売上集計-期間別集計で日付が斜めに表示されず重なる)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/admin/total/LC_Page_Admin_Total.php

    r21442 r21443  
    297297 
    298298    /* 折れ線グラフの作成 */ 
    299     function lfGetGraphLine($arrResults, $keyname, $type, $xtitle, $ytitle, $sdate, $edate) { 
     299    function lfGetGraphLine($arrResults, $keyname, $type, $xtitle, $ytitle, $sdate, $edate, $xincline) { 
    300300 
    301301        $ret_path = ""; 
     
    324324 
    325325            // ラベル回転(日本語不可) 
    326             if ($keyname == "key_day") { 
     326            if ($xincline == true) { 
    327327                $objGraphLine->setXLabelAngle(45); 
    328328            } 
     
    677677            $ytitle = "(売上合計)"; 
    678678            $format = '%Y-%m-%d'; 
    679  
     679            $xincline = true; 
    680680            break; 
    681681        } 
     
    692692        $arrTotalResults = $this->lfAddBlankLine($arrTotalResults, $type, $sdate, $edate); 
    693693        // todo GDない場合の処理 
    694         $tpl_image       = $this->lfGetGraphLine($arrTotalResults, 'str_date', "term_" . $type, $xtitle, $ytitle, $sdate, $edate); 
     694        $tpl_image       = $this->lfGetGraphLine($arrTotalResults, 'str_date', "term_" . $type, $xtitle, $ytitle, $sdate, $edate, $xincline); 
    695695        $arrTotalResults = $this->lfAddTotalLine($arrTotalResults); 
    696696 
Note: See TracChangeset for help on using the changeset viewer.