请教php & mysql高手 本帖最后由 hg533 于 2009-09-23 16:39:03 编辑 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 这个图片是程序动态生成的应该就是graph_image.php调用的lib目录下的rrd.php 生成的 仔细看了看rrd文件,不过没看懂$xport_array["meta"]["vertical_label"] = $graph["vertical_label"];这个应该是设置最左边那个"百分比"文字的 这么朴素的统计图,应该是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); html\plugins\reportit\lib_ext\advgraph5.class.php 1316html\plugins\reportit\lib_ext\advgraph4.class.php 1326里面有两行,查看一下是不是. 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 是空行啊 百分比我感常见是用转义弄的。那里边有好多&# 那你就找$graph["vertical_label"]在哪赋值的,一步步往上找. 改进前序遍历 输出 一个分组显示的问题!从库中取得数据,如何按要求显示。。。 php网站放到网络主机空间怎么配置 $_post值传不过来? 新手请教php乱码问题。 大家推荐一个好的留言板程序,不要说我懒,我只是在做需求分析! 从VC版转过来不久,初用PHP编程,感觉跟VC,VB等有很大的差别,问几个基本概念题,请有经验人指导。(并不容易) 对于php编辑器的感想,顺便中秋节散分 怎么列出一个数据库里面的表名?(MYSQL) 功能函数的怎么比html优先执行? PHP搜索结果分页显示的问题 NetBeans如何用xdebug调试PHP
应该就是graph_image.php调用的lib目录下的rrd.php 生成的
$xport_array["meta"]["vertical_label"] = $graph["vertical_label"];
这个应该是设置最左边那个"百分比"文字的
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);
html\plugins\reportit\lib_ext\advgraph4.class.php 1326
里面有两行,
查看一下是不是.
1316: $ysize = imagettfbbox($this->getProp("labelsize",14),90,$font,$ylabel);
好象是设置字体大小的啊html\plugins\reportit\lib_ext\advgraph4.class.php 1326
是空行啊
那里边有好多&#