博客园丁

我是博客园的一丁,我会永不停顿,不停创新。
  首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

强烈推荐一个Flash图标插件(free)

Posted on 2008-06-14 04:13  Jason.Jiang  阅读(1409)  评论(0编辑  收藏  举报

Following is the open flash chart website :
http://teethgrinder.co.uk/open-flash-chart/

one instruction to using OFC:

http://www.javaeye.com/post/561074

ello, this is the Open Flash Chart project.

Get graphs like this for free:

How does it work?

  1. User browses to your web site.
  2. The browser downloads the web page which contains the Open Flash Chart.
  3. 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.

 

We also do pie charts.

 

 

Why is that great?

When the user downloads the web page, Open Flash Chart requests the chart data from the server. The server knows who the user is so it can generate a chart for that particular user showing up to the minute data.

Add a bit of pizzazz to your bar charts!

 

Is it complicated to set up?

You will need to include the Open Flash Chart in your HTML, and you also need to provide the data file on the server. The data file is either a text file, or a .php, Perl, Python, Java (or another flavour of dynamic) 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.

But what we really want is dynamic data that is pulled from a database or calculated or something. To do this you need to create the data file when 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 database lookups, 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.

Why only these languages? Well any scripting language will do the same job. But I don't have access to anything but PHP. If anyone wants to translate 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!

Change the style of the charts.

 

Get started!

  1. Download Open Flash Chart, this includes the PHP class.
  2. Read the tutorial.
  3. Check out the gallery.

 

And it's really free?!

Yes. Once upon a time I had to deal with a company who sell flash charting components, their component had a bug that I needed fixing, so I emailed them about it asking when it'd be fixed. (Remember that I had paid real money for this software.) They were so incompetent, rude and obnoxious that after three or four weeks of emails I thought to myself "I could learn Flash and Actionscript and write my own charting component, release it as Open Source, host it on sourceforge and build up a community of helpful coders faster than they can fix a single bug." And that is what I did. And that is why it is free. I guess the moral of the lesson is: don't piss off your customers.

Want to sponsor Open Flash Chart?

I am stuck with Flash 8 which is a bit naff. I would love to upgrade to Flash 9 with Actionscript 3.0 but I am skint. So if you are rich and are looking to help out with this project click here!