User talk:Haa rodrigues


Charting tools

Here's a rough overview of some graphing solutions, in no specific order. The purpose of this is to find a suitable tool to display patient and cohort data graphically. Ideally it should be:

  1. FOSS
  2. Cross-browser / cross-platform
  3. Lightweight / Thin-client oriented
  4. no need for special downloads
  5. Good user community
  6. Interactive and flexible
  7. SVG, if possible

Feel free to add more alternatives and/or comments.


Dojo Charting Engine

Since OpenMRS already uses Dojo, this might be a good option. The repository does not include the charting libraries though.

Docs

Examples:

  1. http://app.lightstreamer.com/DojoDemo/
  2. http://www.ridgway.co.za/archive/2007/04/13/A-Simple-Dojo-Charting-Example.aspx
  3. http://www.ridgway.co.za/archive/2007/04/22/dojo-based-cruisecontrol-statistics-graphs.aspx
  4. http://www.sauter-online.de/dojo/tests/charting/test_engine.html

The good part:

  • FOSS
  • claims to be cross browser (need to check, my first test with IE7 failed to render)
  • uses SVG rendering when possible
  • javascript solution, which should make AJAX easy to use (need to check on this, example 1 seems like a good starting point)
  • can be altered to suit our needs

The not-so-good part:

  • no built-in pie charts
  • very few examples on the web. Good user community for Dojo but not so much support for the graphing engine
  • doesn't seem as complete as other solutions below
  • doesn't seem to provide a lot of interaction with the charts. Need to confirm this, but judging from the static examples, we will probably have to deal with interactivity ourselves.



Other

amCharts http://www.amcharts.com/

  • Free (with small link to website on chart corner)
  • Pretty flexible


Fusion Charts http://www.fusioncharts.com/

  • Great functionality and looks
  • Flash
  • Commercial licence

Fusion Charts Free http://www.fusioncharts.com/free/

  • Free version of FusionCharts
  • need to take a better look at it


JFreeChart http://www.jfree.org/jfreechart/

  • Free / OpenSource
  • Image-Based
  • Not interactive


JViews http://www.ilog.com/products/jviews/charts/

  • too expensive
  • Thin Client solutions
  • Java


JpGraph http://www.aditus.nu/jpgraph/

  • Free / OpenSource
  • Image Based
  • PHP


Open Flash Chart http://teethgrinder.co.uk/open-flash-chart/

  • Free / OpenSource
  • OSFlash based
  • interactive
  • PHP


AnyChart http://anychart.com/products/anychart.shtml

  • Commercial
  • Flash
  • Interactive (?)


XML/SWF Charts http://www.maani.us/xml_charts/index.php

  • free, but clicking the charts redirects to developer homepage:P
  • Flash/PHP/XML


more to come...


Nice compilation of charting tools: CSS/PHP/Flash/AJAX charts