创建图表的PHP类库

时间:2023-07-14 04:08:52
【文件属性】:

文件名称:创建图表的PHP类库

文件大小:342KB

文件格式:ZIP

更新时间:2023-07-14 04:08:52

经典类库

简介:AddPoint(array(1,4,-3,2,-3,3,2,1,0,7,4,-3,2,-3,3,5,1,0,7),"Serie1");  $DataSet->AddPoint(array(0,3,-4,1,-2,2,1,0,-1,6,3,-4,1,-4,2,4,0,-1,6),"Serie2");  $DataSet->AddAllSeries();  $DataSet->SetAbsciseLabelSerie();  $DataSet->SetSerieName("January","Serie1");  $DataSet->SetSerieName("February","Serie2");  $Test = new pChart(700,230);  $Test->setFontProperties("Fonts/tahoma.ttf",8);  $Test->setGraphArea(50,30,585,200);  $Test->drawFilledRoundedRectangle(7,7,693,223,5,240,240,240);  $Test->drawRoundedRectangle(5,5,695,225,5,230,230,230);  $Test->drawGraphArea(255,255,255,TRUE);  $Test->draw$graph->title->Set(iconv_arr("Phpwind 图表测试"));  // 设置图表标题 这里iconv_arr是我自己加的,为了支持我们伟大的中文要把你的当前编码转化为html实体$graph->xaxis->title->Set(iconv_arr("这个大概是月份吧")); //设置X轴标题$graph->yaxis->title->Set(iconv_arr("这个是Y轴")); //设置Y轴标题$graph->title->SetFont(FF_SIMSUN,FS_BOLD);  //设置标题字体,这里字体默认是FF_FONT1,为了中文换成FF_SIMSUN$graph->yaxis->title->SetFont(FF_SIMSUN,FS_BOLD); //设置X轴标题字体$graph->xaxis->title->SetFont(FF_SIMSUN,FS_BOLD); //设置Y轴标题字体


【文件预览】:
创建图表的PHP类库
----Example24.php(2KB)
----Fonts()
--------GeosansLight.ttf(59KB)
--------MankSans.ttf(57KB)
--------tahoma.ttf(375KB)
--------pf_arma_five.ttf(21KB)
--------Silkscreen.ttf(16KB)
----php中文网下载站.url(114B)
----Example13.php(1008B)
----Example9.php(2KB)
----Example10.php(1KB)
----Example14.php(1KB)
----Example18.php(2KB)
----Example16.php(1KB)
----Example2.php(1KB)
----Example21.php(2KB)
----pChart()
--------pData.class(7KB)
--------pChart.class(136KB)
--------pCache.class(3KB)
----Example4.php(2KB)
----Example6.php(1KB)
----Example19.php(2KB)
----SmallGraph.php(909B)
----HomePage3.php(2KB)
----Example11.php(2KB)
----Sample()
--------CO2.csv(3KB)
--------Point_Cd.gif(1020B)
--------bulkdata.csv(442B)
--------Sav143.tmp(0B)
--------logo.png(3KB)
--------Point_Asterisk.gif(1012B)
--------datawithtitle.csv(470B)
----Example7.php(1KB)
----SmallStacked.php(2KB)
----Example25.php(2KB)
----Naked.php(1KB)
----Example23.php(2KB)
----Example26.php(3KB)
----Example3.php(1KB)
----tmp()
----Example12.php(2KB)
----Example5.php(1KB)
----Example1.php(2KB)
----Cache()
----Example22.php(2KB)
----Example17.php(2KB)
----buildAll.cmd(2KB)
----Example8.php(1KB)
----Example15.php(3KB)
----Example20.php(2KB)

网友评论