Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

[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 (Bishop) 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 (Chancellor) 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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://876468]
Approved by roubi
help
Chatterbox?
[ambrus]: This is different from MS Word, which was already a good editor in the pre-unicode days (in word for windows versions 2 and 6, which ran on windows 3 but also on windows 95), only it wasn't trying to solve the task of writing maths papers back then.
[Discipulus]: ah ok, sounds reasonable; with no fear: Perl all life long
[ambrus]: Mind you, LaTeX is currently still useful for writing math paper or snippet content without styling in such a way that the
[ambrus]: formatting conventions of a journal or website can be quickly applied to it, and MS Office and LibreOffice has not quite solved this (although it's better for this than it used to be),
[ambrus]: which is sort of a drawback compared to the ages of typewritten manuscripts representing content only to which the typesetter applies formatting, but that process required much more manual labor.
[ambrus]: If you want to typeset a manuscript, you can still do much less work then in the manual typesetting ages and get good formatting.
[ambrus]: All with only cheap modern computers and software.
[ambrus]: Something you can have at home and your corner print shop, without a whole printing press's worth of equipment.

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (10)
As of 2017-09-26 11:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (293 votes). Check out past polls.

    Notices?