首页 / PHP / 使用PHP绘制统计图_PHP教程
使用PHP绘制统计图_PHP教程
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了使用PHP绘制统计图_PHP教程,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含6341字,纯文字阅读大概需要10分钟。
内容图文
![使用PHP绘制统计图_PHP教程](/upload/InfoBanner/zyjiaocheng/172/2536aa0a37ac477b8a5a2fd66cba63c3.jpg)
第一种方法
第二种是用开源工具jpgraph,参见 http://jpgraph.net/features
Chart Gallery
Line / Area
- Line Plots
- Filled Line Plots
- Step Line Plots
- Line Plots With Markers
- Line Plots With Inverted Y-axis
- Line Plots With Values
Bar
- Standard Bar plots
- Horizontal Bar plots
- Adding backgrounds and patterns to bar plots
- Combined Line and Bar plots
Pie
- Pie Plots
- 3D Pie plots
- Exploding Pie plots
Scatter
Impluse
Field
Splines
Geo Maps
Stock
Polar
Error
Balloon
Radar
Contour
Others(Pro ver.)
General features
Below is a number of "one-liners" that describe some of the general features available in JpGraph.
- Anti-aliasing for Pie charts.
- More advanced formatting of graph titles including 3D Bevel effects.
- Additional 3D Bevel formatting feature for the entire Graph
- Gradient fills for bars are now also displayed in the legend
- Improvements on legend formatting. It is now possible to have several columns in the legend
- Improved callback capability for Plot marks. The new callbacks will provide both X and Y coordinates.
- Footer text can now be used on all graph types
- dded possibility to use the Freely available Vera TTF fonts. These fonts are available from http://www.gnome.org/fonts/
- Built in rotation of graphs
- Fine tuning of legend layout, size and positioning of individual legends and markers.
- Added possibility to use object methods as callbacks and not only static global functions
- Full support for color alpha blending
- Automatic generation of client side image maps to make it possible to generate drill-down graphs.
- Advanced interpolation with cubic splines to get smooth curves from just a few data points.
- Several different fill styles for line plots
- Advanced image 3D effects built-in without external image manipulation programs
- Supports unlimited number of plots in each graph, makes it easy to compose complex graph which consists of several plot types
- Additional built-in images for plot marks including 3D rendered markers like diamonds, squares, bevels, balls, pins etc
- Text strings can now be added to the plot using scale coordinates
- Support for all primitive URL parameter types with CSIM graphs.
- Autoscaling will now also consider added lines and texts.
- Hare/Niemeyer Integer compensation for Pie Plots
- Added the possibility to use Vertical Gradient fill for line plots.
- Improved error handling. The visual appearance of the error handling now tries to mimic any windows system window (in graphic)
- Builtin support to display over 200 country flag and the possibility to use them as icons or markers in the graphs. All the flag images are builtin with JpGraph in an efficient pre-compiled data format.
- Supports caching (with timeout) of generated graphs to lessen burden of a HTTP server.
- Intelligent autoscaling which gravitates towards aesthetical values.
- Fully supports manual scaling, with fine grain control of position of ticks
- Supports color-gradient fill for bar graphs
- Supports both vertical and horizontal grids (with image depth specification)
- Supports both on-the fly image generation and batch processing.
- Extensive documentation
- Advanced text formatting using TTF fonts
- Support for both Chinese and Japanes character sets
非常多的例子,很好的。
第三种用 open flash chart,参见
http://teethgrinder.co.uk/open-flash-chart/gallery-data.php
http://www.helloweba.com/view-blog-41.html
http://www.phphi.cn/post/98/
http://blogold.chinaunix.net/u3/105169/showart_2322209.html
http://hi.baidu.com/duwuzhe722/blog/item/e11b2d2662b512038b82a175.html
第四种使用amcharts,参见http://www.amcharts.com
http://www.bkjia.com/PHPjc/440177.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/440177.htmlTechArticle使用PHP画统计图的方法 第一种方法 = 300 = 300 = 0; = 10; = 0; =0; =0; = (); = (); = (255,255,255); = (192,192,192); = (0,0,255); = (255,0,0); = (0,0,255); = (200,200,2...
内容总结
以上是互联网集市为您收集整理的使用PHP绘制统计图_PHP教程全部内容,希望文章能够帮你解决使用PHP绘制统计图_PHP教程所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。