06 2013 档案

摘要://测试实时在线 public function shishi(){ $values = ""; for($i = 1; $i <= 9; $i ++) { $values .= rand(1,10).","; } $file = fopen(SITE_PATH."/test.txt","w"); fwrite($file, $values."AAA"); fclose($file); //$values="2,4,5,6,7,8,9,9,4"; $this->a 阅读全文
posted @ 2013-06-14 15:22 haiwei.sun 阅读(161) 评论(0) 推荐(0)
摘要:http://teethgrinder.co.uk/open-flash-chart/gallery-js-ajax-2.phphttps://code.google.com/p/ofcgwt/http://ofcgwt.googlecode.com/svn/docs/api/index.htmlhttp://ofc2dz.com/OFC2/examples/XLabelsFormatted.html 阅读全文
posted @ 2013-06-13 20:33 haiwei.sun 阅读(108) 评论(0) 推荐(0)
摘要:pChart是一个开源的图表生成库,主要涉及3个Class:pChart.class,pData.class,pCache.class,可生成20多种简单或复杂的图表,支持PNG,JPG,GIF通用图片格式。数据源可以来自于Database,CSV,当然也可以手写。使用该程序PHP需要开启GD服务,先来看看pChart的工作流程:主要分为三步:* 读取用于生成图表数据(数据库、文件)* 设计图表样式(圆角、底色等)* 制作标签、题目、图例并生成图表下面看一个简单的柱状图表:代码如下:<?php // Standard inclusions include("pChart/pDa 阅读全文
posted @ 2013-06-13 09:48 haiwei.sun 阅读(1162) 评论(0) 推荐(0)

返回顶部