Cumulative Charts in Drupal with Views and Charts

If you’re trying to use the Charts module to create cumulative graphs over time (in my case, race registrations).  No time now for a detailed post.

This guy had the answer: http://drupal.stackexchange.com/questions/50066/how-to-add-up-rows-in-a-view

He cites this but I didn’t use it: https://www.drupal.org/node/1516348

This is the module you need, can only add field if you are User 1: https://www.drupal.org/project/views_php

My setup (I was pulling the order_id field and aggregating the results as a count):
drupal_cumulative.png
drupal_cumulative1.png

Output:
drupal_cumulative2.png

One thought on “Cumulative Charts in Drupal with Views and Charts”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.