Closed (fixed)
Project:
Google Chart Tools: Image Charts
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
17 Nov 2009 at 14:40 UTC
Updated:
11 Jul 2010 at 18:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
tjholowaychuk commentedProbably best to keep it as a separate project since im not with Drupal anymore
Comment #2
ezra-g commentedThanks for the fast response. Would you rather grant me CVS access to co-maintain this module?
Comment #3
ezra-g commentedBoombatower recommended that we just put it in the current module. He also granted me cvs access. Thanks!
Comment #4
boombatower commentedI think it makes sense to add views support to the module as many other contrib have done, granted cvs access.
I think a views folder should do the trick and implement hook in chart.module.
Comment #5
tjholowaychuk commentedsounds good guys, whatever works best for you
Comment #6
Bobuido commentedThis would be awesome - Subscribing
Comment #7
ezra-g commentedThanks for your interest. Sorry to leave this hanging for so long. This is 85% done locally. Just needs a cleanup and I'll make it available. I'll give it another shot this week.
Comment #8
ezra-g commentedSeems better to get something 90% of the way there in the queue than to keep delaying. This code is based on the Views integration for the Charts module and most of the comments are taken from that implementation. It depends on views_calc.module and so I've made it it's own separate module.
Comment #9
glennpratt commentedNice work ezra-g. I've just started glancing at it, here's what I saw so far.
I see a call the chart_types() in chart_views_plugin_style, line which is undefined for me against 6.x-1.2 and 6.x-dev.
I changed it to a hard coded array of the chart types just to see and the views integration seems to load, but I've yet to get any data to chart.
Comment #10
ezra-g commentedIndeed you're correct -- I need to file this as a patch because I added a function to chart.module.
Comment #11
adpo commented#8 is not working for me.
When I want to choose setting for Google chart style: An error occured at http://example.com/admin/build/views/ajax display/view_name/default/styleplugin
PS> Can I use CCK field for this style?
Comment #12
ezra-g commentedHere's a revised version of chart_views that removes an unnecessary comment from the original charts.module views integration. Also, a patch adding the chart_types() function to chart.module is attached.
Comment #13
tobiberlinI also got the error mentioned in #11 when I wanted to select the Google Chart view style...
Comment #14
ezra-g commentedTry clearing the Views cache at admin/build/views/tools .
Comment #15
ezra-g commentedI made some basic charts on a fresh install and committed this. I expect that we'll refine it more as it gets more use.
Comment #16
ezra-g commentedSadly, I forgot that chart_views should go into /contrib. I think I can live with that.
Comment #18
jcmarco commentedI am afraid that the include directory is not in the chart-6.x-1.x-dev release
Comment #19
BenK commentedSubscribing...
Comment #20
askibinski commentedsubscribing.
the latest -dev with the includes directory from #12 works, but there are some issues, for example the display I choose (e.g. pie chart) is not stored. In other words, the top radio-button is always selected when I edit the settings even though I selected another.
Comment #21
ezra-g commentedThe missing files are now committed and should be available in the next dev. Sorry about the mistake.
@askibinski - Please file a new bug report so that we can address your issue.
Thanks!