Ubercart Graphs

Posts: 64
Joined: 02/13/2008

Hey all

My client recently asked “Why don’t I have any fancy graphs” After thinking about it I asked myself why hasn’t Ubercart got some nice graphs?

After thinking about how I was going to-do this I then started googling.

I came across a nice API for graphs which I started messing with pulling data from my current clients site after a couple of hours of playing I came up with something I could work with.

Now the big part how do I implement the idea into Drupal/Ubercart

I’m not the strongest coder and after only playing with Drupal/Ubercart for about a month and half

“I DID IT YAY”

After doing some more googling i found someone had created a module for using my graph api for drupal “YAY”

I installed the module and configured it and started messing with the uc_store.module it didn’t take long for me to come up with the example attached below.

The code is still very rough and I wasn’t sure whether I was placing code in the right place I need to speak to Ryan or Lyle on how I will make this more user friendly e.g change bar, backgrounds colours etc.

Let me know what you guys think.

AttachmentSize
graph_idea.gif86.08 KB
Posts: 195
Joined: 12/28/2007
Uber DonorBug Finder

that's cool mykz- ...also from usability point of view I think it's always a good idea to have reports in graphical form as well. I like your idea, looking forward what's coming up Eye-wink

Posts: 21
Joined: 09/09/2008

Could you share how you went about applying your graphs. i have graph script too that I'm like to integrate, or more specifically how were you able to grab the data from database to use in creating the graphs?

Posts: 195
Joined: 12/28/2007
Uber DonorBug Finder

Also, the Fusion Charts -module for Drupal is amazing! ...and it will eat data to produce beautiful graphics charts. Is there any way to combine all these together? (from usability point of view graphs are a Big step forward in any script)