2

I'm now working on a local offline network website, which needs a graphical chart report for their quiz. But since it's offline I cannot use the (interactive) Google Charts API as a charting engine.

I tried FusionCharts already for the Webform Report module, but it has no integration with Quiz.

Any suggestions would be great.

2

You can use Flot since it has views integration as Quiz. Flot can be used offline while Google charts can't because of their TOS.

  • I give it a try and let you know if it works, thanks – Sohail Jan 14 '13 at 16:22
2

Possible options

To create charts in Drupal, have a look at the Comparison of charting modules as a possible place to start from, to find the module that best fits your needs. That comparison includes quite some charting modules ... and related charting libraries (engines).

Options to be eliminated

Possible alternatives that for sure will not solve this specific question (= illustrate the "pain"?), are the Chart module, or the Charts module. Because the D6 version of both modules require an internet connection.

However, for somebody using D7, using the Charts module in combination with the Highcharts library could work, provided you have a valid license for it (which is free for non-commercial use).

License requirements

The license that comes with the related charting library (engine) in each of these charting modules, should be considered also. It is one of the (important?) selection criteria for deciding on the module to go for. Some other typical items to consider are:

  • Possible privacy concerns.
  • Yes or no support for saving charts in PDFs (usually supported by PHP based libraries, and not supported by JS based libraries).
  • Flash based libraries should be avoided if charts are to be displayed on mobile devices.
  • Some libraries (like the Google flavors ...) require a working internet connection (not always available in local DEV environments ...).

Recommended charting libraries

In this specific case, I think you should go for a PHP or JS based library (assuming you have a way to get the library downloaded) and consider one of the modules using pChart or SVG Graph (both open source).

Examples

Here are some online examples created with either of these libraries:

  • The SVG Graph demo uses the SVG Graph library. It's created by the Forena module, which you can use to create your own custom charts.
  • The Days of week example uses the pChart library. It's created by the Visitors module and can be used as an example of "roll your own cookies" without using a typical charting module (by looking at its source code).

Be aware: I'm a (co-)maintainer of all modules mentioned, and the author of the Comparison of charting modules.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.