Creating a chart in Drupal with Charts

One of the greatest strengths of Drupal is the module Views. It gets even better when you are able to use the module Charts in order to present your data in a more pleasant way.

In order to create a chart with the module Charts, do the following:

Install both modules, of course. Create your view as desired. I recommend using a table display initially so that you can see your data precisely.

Attention:

You data may contain a label column (field) and several data columns (fields). Notice that you should not use the same field for both purposes. If you simply want to count the registers and present them in a graph, you should use the nid as the field to be counted and a different field for aggregation.

The data presented in the graph will usually be accompanied by some tabular data of the same kind.

It may be nice to use the graph as an attachment display.
comments powered by Disqus