php股票K线图生成代码[网站编程]
本文“php股票K线图生成代码[网站编程]”是由七道奇为您精心收集,来源于网络转载,文章版权归文章作者所有,本站不对其观点以及内容做任何评价,请读者自行判断,以下是其具体内容:
<?
//此程序实现php画柱状图,开辟股票网站的朋友常常会碰到在生成k线图片,目前我们来看看一款操纵php按照数组数据生成k线图片. $data = array ("-1174.58","-1865.41","1961.24","-1174.58","-1865.41","1961.24","-1174.58","-1865.41","1961.24","-1174.58","-1865.41","1961.24","-1174.58","-1865.41","1961.24","-1174.58","-1865.41","1961.24","-1174.58","-1865.41","1961.24","-1174.58","-1865.41","1961.24","-1174.58","-1865.41","1961.24","-1174.58","-1865.41","1961.24"); $chartfont = 2; //图表字体 //获得最大的数据 //填充后台为白色 //画柱体,长方形,并着色 header("content-type: image/gif"); |
以上是“php股票K线图生成代码[网站编程]”的内容,如果你对以上该文章内容感兴趣,你可以看看七道奇为您推荐以下文章:
本文地址: | 与您的QQ/BBS好友分享! |