New View Type: Chart view

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
Carlitus's picture

Moved to official ideas list at http://drupal.org/node/236453

The idea is to make a new type of view (for views module, of course), the Chart View.

And to make the chart the student can use http://teethgrinder.co.uk/open-flash-chart/index.php

Comments

Charts module

Matt V.'s picture

I like the idea. There's an "alpha" Charts module that was just started recently. It includes some level of Open Flash Chart and Google Chart API support with plans for more. Maybe the maintainer would be willing to work with a student to implement the planned functionality.

Organizational/Flow Charts

Alex UA's picture

I would love to see this, espescially if it included some method to convert views into flow charts.

Alex Urevick-Ackelsberg
ZivTech: Illuminating Technology

Alex Urevick-Ackelsberg
ZivTech: Illuminating Technology

And there is google charts

garthee's picture

Google charts [1] give you static pictures (no flash overload). And I m looking forward to see some realtime data view here too
[2].

[1] http://code.google.com/apis/chart/
[2] http://groups.drupal.org/node/9960

Visualization API

gdd's picture

Google also recently announced their visualization API for Google Docs, which could have some cool uses

http://code.google.com/apis/visualization/

Google Charts

rickvug's picture

Integration with the Google Charts API could be really cool. Perhaps this is a good area to start with?

google charts

Carlitus's picture

It's true, i forgot the google chart API, good idea :)

Neurotic web design

I am interested in applying

jtsnow's picture

I am interested in applying for this project. Are CSS charts are an option?
CSS Bar chart: http://meyerweb.com/eric/css/edge/bargraph/demo.html
CSS Flow Chart: http://www.battle.net/tournaments/sandlot/ (Bottom of page.)

I don't think that CSS charts are practical, but they are possible. I haven't seen any API's to generate flash or image flow charts. Are there any out there?

What needs to be implemented? So far, I see:
-Integration with Views
-Integration with CCK

I also see that SWF Charts has been released: http://drupal.org/project/swfcharts

Also see chart module

Lynn's picture

You should check out http://drupal.org/project/chart as well as http://drupal.org/project/charts . Chart module is a nice API for creating google charts. Haven't tried out charts.modules yet.

Zivtech | Illuminating Technology

would this module

alex_b's picture

would this module extend/modify chart or charts module? if not, why?

Interested Student

Creech@drupal.org's picture

I am a student interested in this project.

From what I see, there are severals possibilities with this, but it seems like the most logical might be to extend the charts module and add views support. That way, all of the supported chart types (Google Chart, FusionCharts, etc.) would be available as views. The only reason I can think of right off hand NOT to extend the charts module is that one might be able to create a more lightweight module/extension if all the features of the charts module are not required. I think the benefit of extending the charts module outweighs the benefit of creating a seperate module/extension, but that's just my opinion based on what I would use. Anyone else have some input on this?

Several additional ideas for extending the charts module have been mentioned before. Google's Visualization API would provide support for everything I have seen mentioned though. This might also be something that can be accomplished over the summer.

I am very interested in this project, so please, let me know what you think. Thanks!

yay!

catch's picture

Adding views 2 support to the charts modules sounds like a sensible way to go about this. You should probably contact brmassa to get some input on how to go forward.

Google visualisation API looks pretty handy, and a good way to test the flexibility of the views integration (timeline views etc.). Probably this would also be an extension of the charts module.

Does doing both of these sounds like a reasonable GSoC project to people?

Yup

Creech@drupal.org's picture

Sounds like a good SoC Project to me, but I'm just the student. ;)

As far as adding Views 2 support, I am assuming that would be preferred since students are supposed to focus on developing for D6 for most of the work. And the more Views 2 support we can get, the better.

Anyone else have some input on this as a SoC project?

simile/exhibit

catch's picture

Looking at the google visualisation API, the main thing there that's not charts, is simile - which is already integrated with drupal via the exhibit module (http://drupal.org/project/exhibit). I'm not sure what exhibit has yet in the way of views support, but that'd be worth looking at as well.

From my (little) experience

JurriaanRoelofs's picture

From my (little) experience with Google Charts API I concluded that in many cases it's encoding does not always allow for a sufficiently large data resolutution. For example, if you're trying to graph monthly return rates of a bunch of 5 stocks, you'll only be able to graph one year, because you can't fit more data in the image url.


peach from All Drupal Themes!

The Flash charts option

JurriaanRoelofs's picture

The Flash charts option looks nice, someone should test though how it performs if you have a views table with 40 charts in it.


peach from All Drupal Themes!

Charts module

brmassa's picture

Guys,

Its great news some is interesting on the subject. lets see if i can help you out on this! Im the programmer behind Charts module.

1* Charts module (at the moment) is in Alpha because there are many features that should be designed and implemented, so there is room for you to work on.

2* Possible areas:
* Data Schema: extend the data structure for building all kinds of charts from all providers like Google Charts or Open Flash Chart (including "special effects" and "unique features" for each provider)
* Third party Charts integration: integrate with other chart providers and refine/optimize the existing ones.
* CCK integration: insert the charts on every kind of of content.
* Views integration: using views to query contents, build charts instead a list of contents
* Administration: provide several administration pages for Drupal: control contents, users, taxonomy, comments, system logs, visiting statistics using charts. Also, create helper functions for other modules use it easily.
* Documentation: Charts module is mostly a helper module, not a end-user one. Its mostly designed to developers, so a good documentation is crucial
* Data Insertion GUI: the module provides a unified data structure, but what about a nice interface to insert the data and configure the chart (JavaScript/AJAX or Flash might be required)

3* I will love your help on this. I dont know if you have a tutor/guide on this, but in case not, i will be glad to be.

regards,

massa

Thanks!

Creech@drupal.org's picture

Massa,

Thanks for your input! I am working on a proposal for this right now. I think the focus should be on Views and CCK integration with Charts, but if anyone thinks differently or has additional input, please let me know. Thanks!

  • Creech

Proposal Draft Ready

Creech@drupal.org's picture

I have a draft of my proposal ready. It is already posted on the Google SoC webapp. Should I also post it in this thread or create a new thread? Thanks!

  • Creech

Creech - you should post a

catch's picture

Creech - you should post a link here.

Thanks

Creech@drupal.org's picture

Thanks, catch.

Here is a link to the current revision in RTF format and ODT format. Any feedback is welcome. Thanks ahead of time!

  • Creech

I have also submitted an

jtsnow's picture

I have also submitted an application for this project on the GSoC website.

Any input is greatly appreciated!

jpgraph?

raintonr's picture

Hi,

I recently had graphing needs are part of the trackfield_graph.module development (see http://drupal.org/project/trackfield).

Thought about Google Graphs, but they didn't seem to have the flexibility required. Eventually I settled on using jpgraph:

http://www.aditus.nu/jpgraph/

FWIW, I'm using a browser right now with no Flash plugin, flash graph is not really much good then.

How about a graph abstraction layer that could render plain images on the server for normal browser display (as per jpgraph), or use flash graph or Google graphs (as you mention), or some other output type (PDF, SVG, etc)? This would be much more useful I think. Of course it's very much more complicated but would have a much nicer outcome. Depending on the rendering method the admin/user has chosen some of the graph features might be missing of course - handing missing features is part of the challenge.

Oh, someone mentioned CSS graphs, there is a chart library based on jsGraphics (http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm) here: http://webfx.eae.net/dhtml/chart/jsgdemo.html

Flot

recidive's picture

There is a jQuery plugin called flot which draws lines and bars graphs using canvas.

google chart maps for consideration

ica's picture

great module, would even better if the developer consider extending with the google chart maps
http://code.google.com/apis/chart/#maps

Charts module and time series plots

haisam's picture

Non of the chart engines included in this module have the capability to plot date/time as one of the axes. The only one I know of that can do this is http://anychart.com/products/anychart/gallery/

Data vs time

einsicht's picture

Timeplot is a pretty good module for data vs. time graphs. It's not that well documented but it can be customized to do really awesome stuff, like on this page.

It'd be nice to have this integrated into Charts as well. I've worked with Timeplot so I'm willing to help with that if people are interested.

Slotted

brmassa's picture

Guys,

it seems that Russ proposal on Google Summer Code has been approved (http://code.google.com/soc/2008/drupal/open.html). congratulations!

I will mentor him.

thanks to all that shared ideas. I hope you like the final project.

regards,

massa

These modules exist

I was planning on writing

Wim Leers's picture

I was planning on writing this myself, since I will need this, too. So please ping me (I'm often in #drupal) when you need testers! :)

Russ? where are you?

brmassa's picture

Guys,

anyone has any news about Russ Creech? He needs to complete the first part of the work, otherwise he will lose the sponsorship from Google.

Im not having success on contacting him by email.

regards,

massa

hope this gets done

KingMoore's picture

Ever get in touch with Russ? I hope this gets done. Either way I have found this discussion extremely informative.

Subscribing. I've done a bit

aaron1234nz's picture

Subscribing.
I've done a bit of work with Fusion Charts (http://drupal.org/node/264933) which I hope can be incorporated into this project.

Subscribing

bbenone's picture

I'm also pretty interested in this. Hit me up when it's time to test, I'll lend a hand.

Documentation Note

mroswell's picture

Adding a Google Charts plugin for views
http://drupal.org/node/232818

This is part of the Views documentation

Will this be for Drupal 5 or 6?

mroswell's picture

(or both?)

Chart 2.0

Pierre.Vriens's picture

Over 6 years later now, not sure how to describe my discovery of this interesting discussion ... Either it's like "history repeats", or "same old story that still applies today". Anybody still interested knowing what the story looks like today, go visit the Chart 2.0 issue, at https://www.drupal.org/node/2368793.

Anybody interested in joining that party over there (access to it is free, though contributing to it would be appreciated), please let me know, either "there", or "here" ...

FYI: I'm a new co-maintainer of the chart module, not to be confused with the charts module, of which I'm not a co-maintainer. At least not yet, despite some recent suggestions in that issue that I should consider asking for becoming a co-maintainer of charts also. The chart module is currently the most "installed" module in charting-land, with over 26K sites using it, and which is more then the sum of all other charting modules available. And "my" current priority nr 1 is fighting the upcoming April 2015 deadline for the chart module. At this time we're considering what the valid approaches are that should be considered as the future of the chart module. Some type of merger with the charts module has been suggested recently. Fingers crossed that by April 2015 we don't have to create a chart-issue with a title like "Get out of here ... now".

SoC 2008

Group categories

Group notifications

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

Hot content this week