I just got Bluff working with a temporary js fix. Can I have commit access to push the branch?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

R.J. Steinert’s picture

*nudge nudge* :)

rsevero’s picture

Assigned: Unassigned » rsevero
Priority: Critical » Normal
Status: Active » Needs work

Could you please post a patch with your changes?

R.J. Steinert’s picture

I just rebased all the recent 6.x-2.x changes into my 7.x-2.x branch and it's a big mess. It might be less work to start over again than merge all of this together. This could be a lot easier if the api modules were separate projects. I think it makes sense for API integrations to have their own path because because, for example, I'm interested in moving the Flot integration and pCharts integration forward but none of the current integrations in the charts_graphs module. It's definitely "handy" for all of those integration modules to be included but I would prefer that the charts_graphs module move faster and not be slowed down by making sure a handful of integrations that are rarely used (by some) are updated in time.

SeanBannister’s picture

sub

thekevinday’s picture

Status: Needs work » Needs review
FileSize
16.51 KB

I recreated a clean patch based off of rjstatic's changes.
This patch is against the latest git head 6.x-2.x.
Hopefully it should only contain d6 to d7 changes and nothing else.
The other fixes may be useful, but for transitioning it would be best to wait.

This needs review as I may have missed some changes.

batje’s picture

subscribe

ishmael-sanchez’s picture

Trying the patch file I get a fatal error:

require_once(\sites\all\modules\charts_graphs/charts_graphs_canvas.class.inc) [function.require-once]: failed to open stream: Invalid argument in charts_graphs_init() (line 12 of \sites\all\modules\charts_graphs\charts_graphs.module).

I changed the paths but the module requires the SWF tools module but there is not D7 version. Suggestions?

Ludo.R’s picture

Any news on D7 port?

R.J. Steinert’s picture

Title: Here's 7.x-2.x-dev, can I have commit access? » Port charts_graphs to Drupal 7

There is some interest brewing in this over at http://drupal.org/node/828458 and http://groups.drupal.org/node/193923

Ludo.R’s picture

I haven't checked lately, but I think D7 still miss good (views) chart module(s) while D6 do have some quite good modules.

I hope some contributors will be able to fullfil this need.

batje’s picture

The flot module has recently gotten new maintainers too http://drupal.org/project/flot There is a first dev release out.

R.J. Steinert’s picture

Nice, sounds like the Flot module for D7 has support for timestamps which is something I had to hack in charts_graphs and flot modules for D6.

If your X-axis field is a datetime field and if you have an exposed filter on this field with the between operator, you can zoom in on your graph with refreshing.

akshaynhegde’s picture

Priority: Normal » Critical

am too pissed off trying to use charts module with other than google charts. Charts & Graphs was working so well in d6 that I cant wait to get a d7 version

I tried using external libraries such as pchart, fusionchart, open-flash-chart etc and still haven't even able to create a single graph. even the example they have provided doesn't work properly. I need a D7 version of charts and graphs as all my work has got stuck.

So am requesting whoever is developing to release a D7 version as soon as possible.

WorldFallz’s picture

Priority: Critical » Normal
Status: Needs review » Needs work

Please don't change issue priorities without knowing how.

The best way to push this forward is post an updated patch rather than demanding maintainers, who are already contributing their time for free, to work faster for your needs.

akshaynhegde’s picture

@WorldFallz , am really sorry i didn't exactly knew what those priorities meant. So thanks for pointing it out.
I as I said am completely stuck here. So I think you understand my desparation.

I hope the D7 version comes out soon.

batje’s picture

You could try out the flot module. It works for D7 and it makes charts & graphs http://drupal.org/project/flot

akshaynhegde’s picture

I already tried that..!! Here is the problem.... http://drupal.org/node/1456256

Ii even tried using external librararies such as fusionchart,pchart,openflashchart etc but nothing is working properly..!

problem with the fusionchart... http://drupal.stackexchange.com/questions/23516/fusioncharts-with-drupal-7

problem with pchart... http://drupal.stackexchange.com/questions/23452/unusual-output-while-using-pchart-in-drupal-7

So at this moment am completely stuck..!! If you have got solution to any of these problems, please let me know.

cmputrgk’s picture

Any word on the d7 version?

mgifford’s picture

Sorry @thekevinday I didn't review your patch. I started with git for this project and then just ran it through Coder Upgrade & then Coder. I just wanted to do something quick...

I was looking at #1372558: Drupal 7 release? and had that all set up anyways.

So, hopefully this helps move it along. I fixed the problem defined in #7 too. It just wasn't using http://api.drupal.org/api/drupal/includes!common.inc/function/drupal_get...

batje’s picture

Fixed some issues with paths to the include files.

Also updating the views_charts issue.

batje’s picture

with patch

batje’s picture

I created a sandbox for the Drupal 7 upgrade. This version works with the Bluff library and with a new plugin we wrote for the flot library.

There is 3 things that I would like to propose and discuss with others:

  1. The module now contains submodules that implement a specific provider. For any maintainer/stakeholder it will be hard to support all of them. As with the flot implementation we just build, I suggest we split off the submodules and make them projects of their own. If there are volunteers for these subprojects, speak up!
  2. The whole module probably needs a big overhaul. It seems using ctools plugins is a good idea. What I think really lacks is a way for plugins to extend the settings form and secondly a way to set default systemwide settings (like, you only want to change your graphs colorscheme once in your site, not on every display of every view)
  3. We got the module this far, if the current maintainers dont have the time anymore, I would not mind helping them by moving my code into a new Drupal7 branch inside this project.
slithy’s picture

subscribe

batje’s picture

@slithy there is a green button in the top of the right column of the original post (up ^^) that you can click to subscribe to issues

batje’s picture

Version: 6.x-2.x-dev » 7.x-1.x-dev
Status: Needs work » Closed (fixed)

Thanks all for your work. We have used your patches, and added some of ours to make a first -dev release.

If there are people who would like to take over the flash & google plugins, we would be happy to hand them over.

For a new and beautiful graphing option, try our Flot integration.

Happy Graphing everyone!