Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

[OT] Choosing a javascript plotting framework

by andreas1234567 (Vicar)
on Dec 10, 2010 at 14:28 UTC ( #876468=perlquestion: print w/replies, xml ) Need Help??
andreas1234567 has asked for the wisdom of the Perl Monks concerning the following question:

Monks, I humbly approach thee with a non-perl question, thus marked OT - Off Topic: How to choose a javascript plotting framework?.

The criteria are as follows:

  • Plot support: Be able to render line, pie and bar charts.
  • License: Preferably free and open source.
  • Cost: Preferably gratis or low-cost.
  • Technology: Preferably pure javascript (not rely on Flash or similar).
  • Multi browser support: Preferably a framework that works with most common browsers (e.g. Firefox 2 & 3, Internet Explorer 7 & 8, Safari, Google Chrome, Opera).
  • Extensibility: Possible to extend or override functionality.
  • Off line capable: Do not require internet access.

The frameworks evaluated (with shortcomings) to date are:

  • YUI Charts: Fails on pure JS criteria (uses Flash).
  • Protovis: Fails on Multi browser support (does not support IE).
  • DyGraphs: Fails on Multi browser support (relies on html5 canvas element which is unsupported in IE prior to version 9), line chart only.
  • HighCharts: Fails on license (commercial, proprietary), otherwise very rich in features.
  • FusionCharts Free: Fails on pure JS criteria (uses Flash)
  • Raphael Vector Graphics: Fails on (out of the box) chart support.
I seek the advise from the wider Monk crowd on options and possibilities I may have missed out on. Thank you.

No matter how great and destructive your problems may seem now, remember, you've probably only seen the tip of them. [1]
  • Comment on [OT] Choosing a javascript plotting framework

Replies are listed 'Best First'.
Re: [OT] Choosing a javascript plotting framework
by marto (Archbishop) on Dec 10, 2010 at 14:50 UTC

    I know there are many jQuery charting plugins which fit most if not all of your requirements. See flot or jqplot for example.

Re: [OT] Choosing a javascript plotting framework
by Your Mother (Bishop) on Dec 10, 2010 at 15:31 UTC
Re: [OT] Choosing a javascript plotting framework
by scorpio17 (Abbot) on Dec 10, 2010 at 19:18 UTC

    I can vouch for flot. I've used it successfully on several projects and found it very easy to use. It's built on top of jquery.

    It's 100% javascript, free, open source, supports all common browsers, doesn't require internet access, etc.

    The only requirement you specify that I'm not sure about is support for pie charts. I've never had to do those, and don't see any on the examples page... so you might check into that if it's a deal breaker.

Re: [OT] Choosing a javascript plotting framework
by planetscape (Chancellor) on Dec 11, 2010 at 00:08 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://876468]
Approved by roubi
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2018-08-20 14:11 GMT
Find Nodes?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:

    Results (191 votes). Check out past polls.