|
Overview
Drupal Chart API Overview.
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 DocumentationFor further documentation on the creation of charts visit http://code.google.com/apis/chart Screen ShotsView the Screenshots page for more.
|
► Sign in to add a comment
comment
Can this be used in conjunction with Google Data API to gathering data from google finance?
I guess you can, why don't you try? and then tell us :)
excellent module, thank!
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?
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.
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.
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.
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
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 ?
Is there anyway I can break a long chart title into two lines? Adding "\n" in between doesn't work, it literally print out the \n character.
If you are going to create charts with the same #chart_id in a loop you might get identical rendered charts even though you send different data each time.
Tip: Use a unique #chart_id in each loop! That way charts will be rendered with the correct data.
How can i generate a chart, that compare 2 differents data range?
Links to other parts of this wiki:
Home http://code.google.com/p/drupal-chart-api/wiki/
Functions, constants, etc. http://code.google.com/p/drupal-chart-api/wiki/PublicAPI
Examples (very helpful for getting started) http://code.google.com/p/drupal-chart-api/wiki/Examples
Great module.
Have you planned to support also the Interactive Charts of Google?
Google Chart Tools / Interactive Charts (aka Visualization API) http://code.google.com/intl/de-DE/apis/visualization/documentation/gallery/annotatedtimeline.html
Can any kind sole explain how to use a cck date field along with ints to plot changes of the ints over dates ?
I hv installed the module but don't know how to use it creating content and view ?
Is it possible to get plots with unequally spaced data inserting something like cht=lxy chd=t:10,20,40,80,90,95,99|20,30,40,50,60,70,80|