My favorites | Sign in
Project Logo
          
Search
for
Updated Jan 21, 2008 by tjholowayhuk
Labels: overview
Overview  
Drupal Chart API Overview.

This drupal module provides for a simple, elegent, and extendable API for creating dynamic charts.

Features

Why Use Google Charts?

There are many reasons to choose Google Charts API over other methods such as Flash or Flex charts.

Additional Documentation

For further documentation on the creation of charts visit http://code.google.com/apis/chart

Screen Shots

View the Screenshots page for more.


Comment by xelatyf, Jun 19, 2008

comment

Comment by rovo79, Sep 12, 2008

Can this be used in conjunction with Google Data API to gathering data from google finance?

Comment by sietbukuel, Sep 19, 2008

I guess you can, why don't you try? and then tell us :)

Comment by davidwhthomas, Oct 02, 2008

excellent module, thank!

Comment by o...@securitybay.co.uk, Nov 14, 2008

I just used this at http://www.buybub.com/microsoft-office-publisher-2007 but I'm wondering if I can get a text map for this chart prepresenting the precentage in numbers?

Comment by jakob.malm, Dec 13, 2008

How would I use values from CCK nodes together with Chart API? I have a node type with an int field and a date field, and I want to plot all such nodes in a line diagram.

Comment by joel.brockbank, Apr 03, 2009

Had a small issue with 'scaling' bar charts - the data was good, yet the bars were too short. After I added the following on lines:

267 chart_append('chds', $chart['#scaling'], $data);

469 // Scaling 470 case 'chds': 471 $data$attr? = implode(',', $value); 472 break;

...I can set the scaling factor for the bars to be the same as what is labeled on the y-axis. Eg.

$chart['#scaling'] = array(0,25); $chart['#mixed_axis_labels']CHART_AXIS_Y_LEFT?0? = chart_mixed_axis_range_label(0, 25);

Also, this module works great with the panels module.

Comment by harry@microwayes.net, May 01, 2009

Looks good. I'd be interested to see if we can't offload some chart processing to the client also, by use of SVG. Something akin to what Wt Toolkit achieves: http://www.webtoolkit.eu/wt/examples/charts/charts.wt

Falling back to Google's API as necessary.

Comment by arthur.manning, Aug 24, 2009

I created a simple view containing integers and dates (x axix) I selected the 'chart' format and now I get this error when I browse to the view:

I get a javascript popup when I try to save the configuration, and then I get another horrible error message when viewing the page:

Fatal error: Call to a member function set_data() on a non-object in /homepages/34/d120128838/htdocs/halleloo.com/trackfit/modules/views_charts/views_plugin_style_chart.inc on line 112

what can I do about this? I have a customer that wants to chart user-reported data, and I was hoping this module would do the trick.

Any suggestions? I got the same error running version 6.x and also the dev version

Comment by ionrussia, Oct 01, 2009

i have the same problem

Fatal error: Call to a member function set_data() on a non-object in /home/sites/all/modules/views_charts/views_plugin_style_chart.inc on line 135

this line contains $canvas->set_data($cgp_data->rows, $cgp_data->x_labels);

set_data ... any ideas ?

Comment by ionrussia, Oct 01, 2009
abstract function set_data($rows, $x_labels);

/
  • Constructor function.
  • <p>ATTENTION: This function should NOT be called directly.
  • You should always instantiate a chart implementation
  • class using chart_graphs_get_graph() factory function.
  • <p>CAUTION: PHP does not implicitely call parent constructors. DO NOT
  • override this function, or if you do: make sure to call it from the
  • child implementation with: parent::contrusct();
  • within the child constructor.


Sign in to add a comment
Hosted by Google Code