请教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"]在哪赋值的,一步步往上找. 一组两个数差找出最大值 xml转换成数组的问题 一个送分的问题,请大家进来看看哦,本人在线等待 CTO,千呼万唤“出不来”?!! 请问如此 " 2007-11-02T01:13:21.000Z " 时间格式如何转换成 yy-mm-dd H:i:s 如何在TXT文件中删除某一行的内容??在线等 读取数据库后输出问号 php配置oracle的问题, 错误 那个php论坛比较好啊,推荐一个 怎么样两次curl请求参数,模拟提交? 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
是空行啊
那里边有好多&#