Fusionchart views integration
Steven Jones - January 28, 2009 - 12:03
| Project: | FusionCharts |
| Version: | 6.x-1.x-dev |
| Component: | Fusioncharts for Views |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed |
Jump to:
Description
Hello,
I'm trying to set up fusioncharts with views in Drupal 6. I have a few questions. I get that the module isn't finished, but would be willing to get it a little more finished to accomplish what I want.
When I select fusioncharts as the view's display style I'm presented with a baffling number of options, what do they all mean?!

#1
The fusioncharts-views.tpl files needs the line:
<?php$fodder = array();
?>
adding near the top, otherwise you get quite a few foreach errors when the file tries to foreach over it.
#2
Hi John,
I've got as far as creating the interface for selecting the data for a view. Because each graph has so many settings, I am attempting to do a multi-step form within the Views UI. I haven't been successful in getting it working yet.
I haven't focused too much on the chart drawing part at all, so I'm not even sure if the module will currently draw charts at all.
Basically my plan is to run the fusioncharts views in two modes:
1 chart/field (a chart is drawn for each field added to the view). The aggregation method will set how to collect the data together (eg. count of distinct values). You will be able to optionally group a field by another field (eg field=taxonomy term, group by=content type)
The other method will be to take the sum of each field in the view and diaplay this as a bar. in this case a single chart will be returned.
#3
I've not had much success in doing this integration so I'm marking this as postponed for now. I think the charts module integrates with Views - I will probably end up joining forces with the developers of that module.