设为首页 收藏本站
查看: 1622|回复: 0

[经验分享] 开源方便的PHP & Flash图表:Open Flash Chart

[复制链接]
发表于 2015-8-26 05:20:38 | 显示全部楼层 |阅读模式
  Open Flash Chart是一个开源的Flash图表绘制工具,提供了各种程序接口,包括PHP、Ruby、Perl、Python、Java、。Net、AS、JS等等各种接口的数据生成,然后Flash展示的功能,是制作简单Flash & PHP 图表的不错开源工具。
  官方网站:http://teethgrinder.co.uk/open-flash-chart/index.php
下载网址:http://teethgrinder.co.uk/open-flash-chart/download.php

以下效果图是我截取Flash截图,要查看更多效果可以去官方网站。这么好的工具,非常方便我们绘制各种图表啦。。。
  相应其他类似的还有:
PHP/SWF Charts: http://www.maani.us/charts/index.php
FusionCharts Free:http://www.fusioncharts.com/free/Default.asp

都很强大,值得尝试,大大减轻我们开发量。
  
  Hello, this is the Open Flash Chart project.
  Get graphs like this for free: DSC0000.jpg
How does it work?
  

  • User browses to your web site.
  • The browser downloads the web page which contains the Open Flash Chart.
  • Open Flash Chart downloads the data file and displays the chart.
  When you add Open Flash Chart to your web page, you tell it where to find the data file.
DSC0001.jpg
  
  
We also do pie charts.  
  
Why is that great?
  Whenthe user downloads the web page, Open Flash Chart requests the chartdata from the server. The server knows who the user is so it cangenerate a chart for that particular user showing up to the minutedata.
DSC0002.jpg
  
Add a bit of pizzazz to your bar charts!  
Is it complicated to set up?
  Youwill need to include the Open Flash Chart in your HTML, and you alsoneed to provide the data file on the server. The data file is either atext file, or a .php, Perl, Python, Java (or another flavour ofdynamic) page.
  For a simple chart you would just drop the data.txt file on your website and point the Open Flash Chart to this URL.
  Butwhat we really want is dynamic data that is pulled from a database orcalculated or something. To do this you need to create the data filewhen it is requested. To do this we point the Open Flash Chart to a.php page and this PHP page does your calculations and/or databaselookups, then outputs the data file.
  To make this a bit easier there are PHP, Perl, Python and Java classes to write the data file for you.
  Whyonly these languages? Well any scripting language will do the same job.But I don't have access to anything but PHP. If anyone wants totranslate the PHP class into a different language, then email me and I'll post your code and a link to your web site here. The link to your site will be great for your page rank!
DSC0003.jpg
  
Change the style of the charts.  
Get started!
  

  • Download Open Flash Chart, this includes the PHP class.
  • Read the tutorial.
  • Check out the gallery.
  
And it's really free?!
  Yes.Once upon a time I had to deal with a company who sell flash chartingcomponents, their component had a bug that I needed fixing, so Iemailed them about it asking when it'd be fixed. (Remember that I hadpaid real money for this software.) They were so incompetent, rude andobnoxious that after three or four weeks of emails I thought to myself"I could learn Flash and Actionscript and write my own chartingcomponent, release it as Open Source, host it on sourceforge and buildup a community of helpful coders faster than they can fix a singlebug." And that is what I did. And that is why it is free. I guess themoral of the lesson is: don't piss off your customers.
Want to sponsor Open Flash Chart?
  Iam stuck with Flash 8 which is a bit naff. I would love to upgrade toFlash 9 with Actionscript 3.0 but I am skint. So if you are rich andare looking to help out with this project click here!

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-104190-1-1.html 上篇帖子: PHP:面向对象学习笔记,重点模拟Mixin(掺入) 下篇帖子: as3 socket php 做的聊天室
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表