Charts Module Improvements

Events happening in the community are now at Drupal community events on www.drupal.org.

Project Information

Community Discussion - New View Type: Chart View
Proposal - In .RTF format and in .ODT format
Project Page on Drupal.org - http://drupal.org/project/charts_soc2008

Current Status:

Finishing Views integration; starting CCK integration; catching up.

Description

The main purpose of this project is to extend support for the Charts module, specifically adding Views and CCK support and a clean user interface.

Project Schedule (details)

Milestone 0: May 26th

* Complete welcome assignments
* Working Drupal installation to act as sandbox for testing code
* (Mostly) Working SimpleTest for Charts Module
* Familiarization with current Views code
* Familiarization with current CCK code

Milestone 1: June 2nd

* General tests with Views code
* Create a generic Views report
* Create generic options for Views (available on Views page)

Milestone 2: June 16th

* First prototype for Charts-Views integration - limited number of charts and options
* General tests with CCK code
* Create a generic field type for CCK
* Create a generic widget for CCK
* Create a generic formatter for CCK
* Create generic options for a CCK field

Milestone 3: June 30th

* First prototype for CCK integration - limited number of charts and options
* Include the documentation about CCK and Views integration on the module's manual (http://drupal.org/node/233753)
* Include the needed information and any custom install process on README.txt file

Milestone 4: July 14th

* Views support available in mostly stable environment
* CCK support available in mostly stable environment
* Documentation up to date
* Submit midterm report

Milestone 5: July 28th

* Install, uninstall routines
* Expanding the options for Views: Chart types
* Expanding the options for Views: colors palette
* Expanding the options for CCK: AJAX
* EXTRA: Implement Color module on module settings page
* EXTRA: Refine the Chart Data Schema

these EXTRA tasks are only valid in case the main objective gets completed before the schedule. They include new areas that might be interesting for studying and learning.

Milestone 6: August 4th

* Review all code for errors
* Correct any last minute errors
* Review all documentation to ensure correctness and readability

Milestone 7: August 11th

* Submit final version of code

Status Updates

2008-06-10

What I got done last week: Much less than I hoped for. Some minor code changes, but mostly headache from a barely operational internet connection and some stupid mistakes. The module can now extract some basic data from Views and generate simple charts labelled by nid.

What I plan to do this week: A lot more. Add more of the views options, so more chart types can be generated correctly. Start the CCK integration. Get back on schedule.

Things blocking me: Nothing right now. Views 2 dev documentation is lacking, but merlinofchaos is very helpful.

2008-05-31

Created charts.views.inc file. Defined chart view style, set the default options, and made forms to allow options to be changed. Run some basic tests to make sure the options are defined and work properly. Working on gathering data from views to be used in the data array for the charts. Trying to make sure the SimpleTest is doing what it is supposed to do.

2008-05-30

Figured out exactly how to create all the different types of charts. Becoming very familiar with Views 2 code and admin interface. Having fun coding.

2008-05-14

Completed all the welcome tasks. Reading all about SimpleTests. Learning how to use CVS properly. Installing the Chart (singular) module to see the differences and similarities between it and the Charts (plural) module.

2008-05-13

Learning more about Views and CCK. Making sure my Drupal sandbox is working properly.

Comments

Nice! Sounds like you're coming along well...

webchick's picture

Please commit your code though to http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/charts_soc2... as you get things completed, so others can take a look and test it. :)

"Installing the Chart

tjholowaychuk's picture

"Installing the Chart (singular) module to see the differences and similarities between it and the Charts (plural) module."

Good to hear! I am certainly available for any tips or questions you may have as well. I believe both provide some interesting functionality, good luck!

Vision Media - Victoria BC Web Design

Russ? You there, Russ?

webchick's picture

http://drupal.org/project/issues/charts_soc2008 shows no activity in 3 weeks.
http://drupal.org/user/200603/track/code shows no commits since May 13.
Your last status report was June 10.

If you're working on stuff, we need to know about it... :( Please commit your code and get in contact with your mentor and me.

Input grid for Data

bkudrle@gmail.com's picture

I just wanted to post this here so that I don't re-invent the wheel. The charts module is really nice and the output is great, at least from the Google charts (the only ones that I have really used). All of the examples that I have found have actual data or data retrieval embedded in the code, however. I was wondering if anyone had used or created a more generic module for data input to a graph. I am thinking along the lines of a grid/spreadsheet type of input and then one can designate which columns or rows are to be plotted in a chart. It shouldn't be too difficult to do, but before I started the task I wanted to see if anyone had done this before. So far I haven't found much along these lines specifically for the charts module.

SoC 2008

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: