11
ghia
Re: X Basic Graphs
  • 2009/2/14 15:16

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Very nice at the output, but cumbersome on the assembly of the data. I think there must be at some level a place where you can pass an array with series of the points and some settings for the graph. For assembling a serie there should be a function that accepts an SQL string or a handler with criteria. The graphs should be capable to auto size the plane of interest (if values are between 70 and 90 the Y axis is from 60 to 100) and to set the scale on the X axis (by point, by distance, by date, log, ...) and intertwine if multiple series have different points.

I think the XML approach can be very advantagous by displaying them as SVG, which make the graph unlimited scalable to any format and add possibilities for animation, linking, etc.

(I stumbled today on this graph generator in javascript. Also this plotkit is very nice and simple.)

12
tank1955
Re: X Basic Graphs
  • 2009/2/15 6:24

  • tank1955

  • Module Developer

  • Posts: 276

  • Since: 2007/9/7 1


You make several valid points ghia and most of these are addressed by XoopsGraphs developed by WishCraft. I do believe that if a JPGraph interface is to become part of the core package then XoopsGraphs is the right way to go. My simpler approach was developed for a client that needed specific graphs generated within the custom module I was creating. I still haven't decided if I will be pursuing further X Basic Graphs development or not and this was the main reason I didn't submit it to the repository. Thanks for taking the time to review it.

13
Defkon1
Re: X Basic Graphs
  • 2009/2/15 17:40

  • Defkon1

  • Not too shy to talk

  • Posts: 151

  • Since: 2005/1/27


i'm succesfully using jpgraph in my players' stats module (example: http://www.p73.it/modules/giocatori0809/zoom.php?pid=23 ) and i think it's a very flexible and powerful library.

maybe it should be included in core framework instead of a module?

14
Defkon1
Re: X Basic Graphs
  • 2009/2/25 15:32

  • Defkon1

  • Not too shy to talk

  • Posts: 151

  • Since: 2005/1/27


*bump*

Login

Who's Online

352 user(s) are online (245 user(s) are browsing Support Forums)


Members: 0


Guests: 352


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits