1

I am using Drupal 6 and trying to setup the Charts module to work with Views.

On the Charts project pages it says

Views integration: Display the Views results as charts

so views is supported. However I had no luck at all so far. Even though the module seems very well written, it lacks documentation.

My question: How to set this up?

1 Answer 1

1

Here's what I used (running a brand new drupal 6.25 install):

The Charts module comes with a few chart providers (SD Image Chart and Google Charts). You need to enable one of them in the module list to use in views. I enabled Google Charts for this example.

Then, I created a new view. I set the Style option to "Chart". To demo the chart, I just added a Node: Nid field and created some dummy nodes. The chart provider you selected will render the chart in the preview for you. You can configure the Style Plugin settings and the fields to get the kind of chart you want.

enter image description here

1
  • I can't believe it I couldn't figure out the 'style' part. I actually looked it up when I was trying to set it up last night but I guess we shouldn't be fighting sleep and working at the same time, right? :) Thank you!!
    – dom
    Commented Apr 8, 2012 at 17:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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