Hi,

I have been trying to look for documentation on how to use views to setup a chart. However, I have not found one that details the step by step procedure on how to do this.

I have tried setting up a view but I just get JSON parser errors. I think maybe I am getting the fields wrong or some setting is not properly configured.

Thanks for any info on this.

My setup is:
Apache 2
PHP 5
Mysql 5
Drupal 6.15
Charts 6.x-1.0-rc2
ViewsCharts 6.x-1.0-rc1

Comments

irakli’s picture

Can you please post the errors that you are getting?

patrickfrickel’s picture

Hi,

I have the same issue. Is there no step by step generic example that can be demonstrated on a vanilla drupal install i.e. number of users by month, or number of comments by month, etc.
The main issue is there is a lack of base understanding as to how to set up the views prior to activating the charts function.
I know we use group-by, but what are the specific setup...I have tried multiple methods but all end in failure.

recidive’s picture

@h3000, @patrickfrickel have you managed to get this working?

Have you setup views_groupby module? This is a requirement to do COUNT style charts.

danieldd’s picture

I found this write up extremely useful when I set up this module (NB - thanks to the author of this). Does not address aggregating/ summing data but may help with other issues.

http://www.sinanerdem.net/blog/charts-and-graphs-drupal

rsevero’s picture

Version: 6.x-1.0-rc1 » 6.x-1.x-dev
Assigned: Unassigned » rsevero
Category: support » feature
Status: Active » Fixed

Create Advanced Help page with simple example with http://drupal.org/cvs?commit=390600 and http://drupal.org/cvs?commit=390602

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.