本帖最后由 hg533 于 2009-09-23 16:39:03 编辑

解决方案 »

  1.   

    这个图片是程序动态生成的
    应该就是graph_image.php调用的lib目录下的rrd.php 生成的
      

  2.   

    仔细看了看rrd文件,不过没看懂
    $xport_array["meta"]["vertical_label"] = $graph["vertical_label"];
    这个应该是设置最左边那个"百分比"文字的
      

  3.   

    这么朴素的统计图,应该是php用GD弄得.
    imagefttext可以设置文字旋转角度,设成90度就竖排了.
    header("Content-type: image/png");
    $im = imagecreate(300, 300);
    imagecolorallocate($im, 0, 0, 0);
    $textColor = imagecolorallocate($im, 255, 255, 255);
    imagefttext($im,20,90,50,200,$textColor,"C:\\windows\\Fonts\\SIMLI.TTF","你好!");
    imagefttext($im,20,90,280,200,$textColor,"C:\\windows\\Fonts\\COUR.TTF","hello world!");
    imagepng($im);
    imagedestroy($im);
      

  4.   

    html\plugins\reportit\lib_ext\advgraph5.class.php 1316
    html\plugins\reportit\lib_ext\advgraph4.class.php 1326
    里面有两行,
    查看一下是不是.
      

  5.   

    html\plugins\reportit\lib_ext\advgraph5.class.php 1316 
    1316: $ysize = imagettfbbox($this->getProp("labelsize",14),90,$font,$ylabel);
    好象是设置字体大小的啊html\plugins\reportit\lib_ext\advgraph4.class.php 1326 
    是空行啊
      

  6.   

    百分比我感常见是用转义弄的。
    那里边有好多&#
      

  7.   

    那你就找$graph["vertical_label"]在哪赋值的,一步步往上找.