Info: Open Flash Chart 2 is out. Version 1.x and these pages will never disappear and the charts will continue working forever, but further development on 1.x has stopped. Take a look at version 2 here Open Flash Chart 2.

Open Flash Charts is open source. So you get the source code of the chart to keep, this means that if you find bugs and need to fix them, you can. Or if you are worried that this website may dissapear, even if it does (don’t worry, it won’t), you have the code and can hire a flash programmer to fix any problems you have.

Don’t forget to clear your browser cache when you have downloaded the Open Flash Chart files. This will remove any cruft that may cause you problems.

Open Flash Chart Licence:

Open Flash Chart is released under the GNU General Public License.

For a bit more info on copyleft and don’t forget to check out Richard Stallmans, his ideals behind Copyleft: Pragmatic Idealism. And finally the GPL FAQ, should answer all your questions on what you can and can not do with the source. And lets face it, with it licenced under GNU GPL you can do a lot with it.

Commercial ventures may be interested in this question and answer.

PHP classes Licence:

The PHP classes are released under the GNU Lesser General Public License.

What does the LGPL mean? Well, lets start with the GPL. A commercial product may interact with a GPL product ‘at arms length’, this means you can not include GPL libraries in your code.

Open Flash Chart is a compiled flash object which communicates with the world by downloading a data file. This is ‘at arms length’ and means you can use it in a commercial product, so long as you inform your users that Open Flash Chart is GPL and provide access (e.g. a link) to the source code.

The LGPL allows you to include libraries of code into your commercial product. That is why I chose the LGPL for the PHP libraries.

Price:

Don’t worry, Open flash Chart is free 🙂 but in return for all the hard work the development team have put into the code please, please take time to return the favor by doing one of the following:

  • Send us a message saying hello. Please include a photo of you in your local pub enjoying a beer.
  • Blog about Open Flash Chart. Help those of us who aren’t very good at art by providing some beautiful example charts for us to copy.
  • Use the money you saved by downloading Open Flash Chart to take your [girlfriend|wife|boyfriend|husband] out for a beer and kebab.
  • Get involved! Send us code changes, ideas, bug reports or feature requests!
  • Use Open Flash Chart. Integrate it in other open source projects. Get it working on your blog showing visitor numbers, database activity, the number of comments by week, most popular stories and stuff like that. Show other people how to integrate it into their blogs. Write a plugin for your blogging software, then open source the plugin 🙂

Thanks!


What is in the .zip file?

In the .zip file is the flash movie (which displays the chart) and the PHP library which is used in all the examples on this site. You also get the full source code for Open Flash Chart, these are the .fla files. I suggest you ignore them unless you are extremely curious.

To use Open Flash Chart upload the open-flash-chart.swf to your website. Then upload the PHP library folder to your website. Make sure all the permissions are set to allow the PHP to run OK. Then take a look at the examples on this site and make your own wonderful charts! Good luck!


If you like the charts, don’t forget to buy advertising space.


The next version of Open Flash Chart is in alpha. But we need your help to find bugs and hack the libraries. Help us get it released faster! Open Flash Chart 2 alpha
Thanks!


Version 1.9.7 (28th Jan, 2008)

Changes since 1.9.5

  • Tooltips per data item
  • Links per data item

Big thanks to:

  • Pavel Stephan patched the Python code so it is even better.
  • Mazai (from Russia with love 😉 found a number format bug in the Y axis (-1.10000000e-10 was witten ‘-1.1’, not 0.00)
  • mcmunt patched a pie chart links bug. Good work!
  • Eugene Yip added a whole bunch of Python goodness.

Download the Open Flash Chart version 1.9.7 zip file, that includes Open Flash Chart, the PHP, Ruby, Perl, Python, .NET and Java classes and the Flash source code.


Version 1.9.6 (8th Dec, 2007)

Changes since 1.9.5

This has a new chart:

  • sketch

The PHP library has changed a little, check out the examples to see the code changes. Commas now work. The PHP library will output either data files or a bunch of Javascript.

There are new Perl and Java libraries in this release.

Big thanks to:

  • Mark Chance – Java
  • John Vandervort – Perl
  • Dave Rolsky – Pel and PHP help
  • Stéphane Cachat – MTASC help
  • Adam Moore – PHP help (drupal), wrote lots of PHP to Javascript stuff. Thanks!

Download the Open Flash Chart version 1.9.6 zip file, that includes Open Flash Chart, the PHP, Perl, Python, .NET and Java classes and the Flash source code.

If the above link does not work

Please use the sourceforge link above. It saves bandwidth on my site and it also counts the number of downloads which is very useful. But if for some reason it is not working you can get the downlaod here: Open Flash Chart version 1.9.6.


Version 1.9.5

Changes since 1.9.4

This has some new charts:

  • candle (or whisker)
  • high, low, close
  • scatter (you can plot x,y points)

The new chart types do not have PHP libraries written yet. I have asked a few people to help me out and I will be coding too 🙂

I have also given the pie charts some love, they now re-size themselves to make the most of the space available. The PIE used to be 60% and the labels just had to fit in, sometimes they fell off the chart area, and other times the chart had big blank areas. Now the PIE chart re-sizes its self so everything is ‘just right’ ™ 😉

We also have some .NET libraries which I AM SO HAPPY ABOUT!! This was the last major platform that we didn’t support – so thanks to Raghunath T. (light .NET library) and Keith J. Kikta (big C# library).

Big thanks to:

  • Igor Antolic – high low close, advice and being so nice about my shoddy code 🙂
  • Mayowa Akinyemi – Sponsored the candle chart
  • Ralph Daniel Tapac – PHP code
  • Mark Van Holstyn – Found the COMMA bug (which is still a bug 🙁 )
  • Michael Hendricks – Reported the & bug (which we need to fix in PHP)
  • Walter Phillips – Sent me my 2nd pub photo – GOOD WORK!
  • Adrien Crivelli – PHP code
  • Bert Janssen – Reported PHP bug
  • Jeremy Miller – PHP code
  • Rudy Coelho – Advice on actionscript
  • Lenny Chien – Translation of the tutorials into Chinese: ofc.homelinux.net
  • Joseph Hughes – Reported PIE chart bugs
  • David Lynch – PHP patch ( www.davidlynch.org )
  • Marcus Uy – Found an interesting data/actionscript bug
  • Filipe Laborde-Basto – PHP patches and help and ideas

Download the Open Flash Chart version 1.9.5 zip file, that includes Open Flash Chart, the PHP, Perl and Python classes and the Flash source code.

If the above link does not work

Please use the sourceforge link above. It saves bandwidth on my site and it also counts the number of downloads which is very useful. But if for some reason it is not working you can get the downlaod here: Open Flash Chart version 1.9.5.


Version 1.9.4

Changes since 1.9.3

The AJAX examples are still broken 🙂 ooops.

  • Updated the tooltips, check them out in all the examples.
  • Fixed the glass and 3D bar charts so they show minus numbers and null data.
  • Removed the need for an external data file.

Thanks to everyone who emailed bug reports. Email me if you want a link here. I am too tired to go through all my eamils looking for names, sites and amazing bug reports 🙂 I can’t thank you all enough!Download the Open Flash Chart version 1.9.4 zip file, that includes Open Flash Chart, the PHP, Perl and Python classes and the Flash source code.

If the above link does not work

Please use the sourceforge link above. It saves bandwidth on my site and it also counts the number of downloads which is very useful. But if for some reason it is not working you can get the downlaod here: Open Flash Chart version 1.9.4.


Version 1.9.3

Changes since 1.9.2

I have broken the AJAX examples 🙁 this is because of the swfobject. I will try to fix these in the next release. If anyone can help I’d appreciate it 🙂 thanks.

  • Updated the swfobject, this should now work with IE7, added an option to use it or not.
  • Feature request from Gyula Dobos: Added more options to the tooltips.
  • Added clickable slices to the pie chart.
  • Bug report from Allan Cochrane: Fixed some bugs in the AJAX reload function.
  • Bug report from Marcus Engene: Added a sequence number to the flash object name, so if more than one chart is on the same page, they are given different names. The first one is called ‘chart’, the second is called ‘chart_2’ etc.
  • We now have two Ruby libraries, one from Charlie at pullmonkey and the other from Arnold Cano, Director of Systems Development at www.mcmservice.com. Thanks guys!
  • Must mention sa0 who sent lots of bugs to me about the right Y axis – thanks dude!

Download the Open Flash Chart version 1.9.3 zip file, that includes Open Flash Chart, the PHP, Perl and Python classes and the Flash source code.

If the above link does not work

Please use the sourceforge link above. It saves bandwidth on my site and it also counts the number of downloads which is very useful. But if for some reason it is not working you can get the downlaod here: Open Flash Chart version 1.9.3.


Version 1.9.2

Changes since 1.9.1

  • We are now using swfobject library to create the flash object in the web page. Thanks to NetVicious for this patch.
  • More options for the area chart (page 2). This patch was from William Henry.
  • William Henry also sent a patch for more options in the X Axis grid colours.
  • Fade bar chart.
  • Glass bar chart.
  • 3D bar charts. Well, not really 3D, they use an insometric projection, but they look good enough. Two people requested this bar chat, poromenos and Vivek Menon.
  • Right Y axis. Niklas Bivald sent me a patch that sorts out 2 Y axis, AMAZING! He has a number of really cool websites:http://chat.snyggast.se/ where he is using Open Flash Chart to monitor IRC stats. His home page is at www.bivald.com and it is full of really interesting projects!
  • Dobos Gyula also sent me a couple of bug fixes to the PHP code. Thanks Dobos!

Download the Open Flash Chart version 1.9.2 zip file, that includes Open Flash Chart, the PHP, Perl and Python classes and the Flash source code.

If the above link does not work

Please use the sourceforge link above. It saves bandwidth on my site and it also counts the number of downloads which is very useful. But if for some reason it is not working you can get the downlaod here: Open Flash Chart version 1.9.2.


Version 1.9.1

Changes since 1.9

Check out how the title is now CSS styled. Big update. Tons of great people helped me out. I am too tired to write now. More tomorrow.

Expect another release very soon, this is a developer test release so we can squash the bugs 🙂

Download the Open Flash Chart version 1.9.1 zip file, that includes Open Flash Chart, the PHP, Perl and Python classes and the Flash source code.

If the above link does not work

get it here Open Flash Chart version 1.9.1.


Version 1.9

Changes since 1.8

Hugo, of OpenMRS fame took our code and hacked in some beautiful pie charts! W00t! The man is a genius! Yay!

Added:

  • Patch from Hugo: Pie charts!
  • Patch from Guenther Harrasser: Python helper classes
  • Patch from George Neusse: Perl helper classes
  • Line charts now support null values.
  • Bug report from Jonathan Gross: Y Axis labels can be turned off.
  • Tool tips can now have more info in them.
  • Bug report from Thibaud Franiatte: Line charts can now have ‘null’ values.
  • Bug report, testing and feedback from Jonathan Gross: Better AJAX support.

Download the Open Flash Chart version 1.9 zip file, that includes Open Flash Chart, the PHP classes and the Flash source code.


Version 1.8

Changes since 1.7

NetVicious is a code demon! He has added lots of functionality for 1.8, and his code is also very nice to read and easy to merge.

Added:

  • Patch from NetVicious: Added background images. Float them top, middle, bottom, left, right, center.
  • Patch from NetVicious: Added X axis tick steps.
  • Patch from NetVicious: Updated the PHP class for both of the above.
  • Added experimental Javascript to Open Flash Chart API for AJAX.
  • Moved all the code out of the .fla (binary) file into a .as (text) file to make merges easier for us coders.

Download the Open Flash Chart version 1.8 zip file, that includes Open Flash Chart, the PHP classes and the Flash source code.


Version 1.7

Changes since 1.6

Huge changes to the code to allow resizing of the chart (width = %), this also allowed me to refactor the code into lots of descrete classes (which is a good thing 🙂

Added:

  • Chart width and height can now be percentages. The chart will resize automatically
  • Bug report from Lee Chuen Yang: Added an animated ‘loading…’ message
  • Advice from NetVicious: Changed the license of the PHP class to LGPL. This can now be included in commercial products without affecting the commercial license.
  • Bug report from connext: More info in the tooltips.
  • Patch from NetVicious: Tooltips don’t float off the side of the screen now.
  • Patch from NetVicious: Inner back ground colours.
  • Added gradient colous to inner background.
  • Patch from NetVicious: Background can now have an image.
  • Patch from NetVicious: X axis labels have a step value.

Download the Open Flash Chart version 1.7 zip file, that includes Open Flash Chart, the PHP classes and the Flash source code.


Version 1.6

Changes since 1.5

Added:

  • Patch from NetVicious: Context menu
  • Patch from NetVicious: Tooltip drop shadow
  • Y Axis label styles
  • Axis and grid colours
  • New graph type: area
  • Fixed: various bugs when using data with minus values
  • Tooltips to bar charts
  • HEX colours can now be like ‘#FFFFFF’ (prefered) ‘FFFFFF’ or ‘0xFFFFFF’ so they are more HTML like

Download the Open Flash Chart version 1.6 zip file, that includes Open Flash Chart, the PHP classes and the Flash source code.


Version 1.5

Changes since 1.4

Added:

  • Y axis minimum value.
  • X axis labels can now be horizontal, vertical or at 45 degrees.

Download the Open Flash Chart version 1.5 zip file, that includes Open Flash Chart, the PHP classes and the Flash source code.


Version 1.4

Changes since 1.3

Added:

  • lines with hollow dots
  • tooltips are now in sexy rounded boxes (like Vista tooltips)
  • bars can now have outlines
  • mouse over effects to the bar charts (fade in)
  • Updated open-flash-chart.php to enable the above changes.

Download the Open Flash Chart version 1.4 zip file, that includes Open Flash Chart, the PHP classes and the Flash source code.


Version 1.3

Changes since 1.2

Added new chart type: bar chart. Can have multiple bars (grouped together) for each X axis point. Can mix line and bars in the same chart.

Download the Open Flash Chart version 1.3 zip file, that includes Open Flash Chart, the PHP classes and the Flash source code.


Version 1.2

Changes since 1.1

Line graphs that have the ‘dot’ style now have tooltips. The dot also grows on when the mouse hovers over it, to provide some feedback to the user.

Download the Open Flash Chart version 1.2 zip file, that includes Open Flash Chart, the PHP classes and the Flash source code.


Version 1.1

Changes since 1.0

You can now add many sets of data to the graph. Added a new line style (dots) and fixed some bugs.

Download the Open Flash Chart version 1.1 zip file, that includes Open Flash Chart, the PHP classes and the Flash source code.


Version 1.0

Download the Open Flash Chart version 1.0 zip file, that includes Open Flash Chart, the PHP classes and the Flash source code.