By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,826 Members | 1,135 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,826 IT Pros & Developers. It's quick & easy.

Proper tool to display graphics?

P: n/a

Hello:

I want to display graphics from my postgresql database, but I must
choose the proper tool first.
Which one is more suitable?:
perl?
php?
pg_autodoc?
another one?

Thank you in advance,
Carlos

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 22 '05 #1
Share this Question
Share on Google+
5 Replies

P: n/a
On Thu, 5 Feb 2004, Carlos Ojea Castro wrote:

Hello:

I want to display graphics from my postgresql database, but I must
choose the proper tool first.
Which one is more suitable?:
perl?
php?
pg_autodoc?
another one?


php and the gdlib work pretty well. It's not as simple as programming in
logo, but it's pretty close. :-)
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 22 '05 #2

P: n/a
On Thursday 05 February 2004 1:48 am, Carlos Ojea Castro wrote:
Hello:

I want to display graphics from my postgresql database, but I must
choose the proper tool first....


Wanting to "display graphics" is rather vague. Are you talking
Entity-Relationship Diagrams? Directed trees? Pie/Bar/Line charts?

Do you want to create them interactively? Generate them on a web site?
How much programming are you willing to do?

For business graphics the choices run the gamut from queries imported
into OpenOffice to (gasp) MS Access talking to PG via ODBC.

For web we have found jpgraph to be very nice. Not free for commercial
use but dirt cheap and well worth the small price. It's runs under
PHP so you can incorporate it in a web page or a shell script. It
supports a variety of business and scientific graph styles.

AT&T's graphviz is interesting for directed tree and similar diagrams.
You can roll your own queries to generate the necessary input files.
This is what pgautodoc does to create database diagrams.

R is a statistical package which can create a variety of graphical
outputs and there are a number of projects to integrate R with PG.

That's just a start. You might try searching freshmeat.net if these
don't meet your needs.

Cheers,
Steve
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postgresql.org so that your
message can get through to the mailing list cleanly

Nov 22 '05 #3

P: n/a
>
I want to display graphics from my postgresql database, but I must
choose the proper tool first....

Wanting to "display graphics" is rather vague. Are you talking
Entity-Relationship Diagrams? Directed trees? Pie/Bar/Line charts?


Thank you for your response, Steve. I want to display Pie/Bar/Line charts
Do you want to create them interactively? Generate them on a web site?
How much programming are you willing to do?

Yes, I want to create them interactively, but not necessary on a web site.
I am willing to program as much as neccesary.
For business graphics the choices run the gamut from queries imported
into OpenOffice to (gasp) MS Access talking to PG via ODBC.
I am using PostgreSQL under linux

For web we have found jpgraph to be very nice. Not free for commercial
use but dirt cheap and well worth the small price. It's runs under
PHP so you can incorporate it in a web page or a shell script. It
supports a variety of business and scientific graph styles.

AT&T's graphviz is interesting for directed tree and similar diagrams.
You can roll your own queries to generate the necessary input files.
This is what pgautodoc does to create database diagrams.

R is a statistical package which can create a variety of graphical
outputs and there are a number of projects to integrate R with PG.

That's just a start. You might try searching freshmeat.net if these
don't meet your needs.

Cheers,
Steve

Thank you Steve, so: is PG a good choice for me?
Cheers,
Carlos

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******@postgresql.org)

Nov 22 '05 #4

P: n/a
"Carlos Ojea Castro" <ca********@leveltelecom.es> wrote in message
news:40**************@leveltelecom.es...

I want to display graphics from my postgresql database, but I must
choose the proper tool first....


Wanting to "display graphics" is rather vague. Are you talking
Entity-Relationship Diagrams? Directed trees? Pie/Bar/Line charts?


Thank you for your response, Steve. I want to display Pie/Bar/Line charts

If you're comfortable w/ Perl, DBI, and SQL, might I suggest
DBIx::Chart ? www.presicient.com/dbixchart

It should make the process somewhat
transparent by extending (bastardizing?) SQL syntax, so it looks like
Pg generates your graphs directly...and should work with other dbms's
as well. Oh, and its FOSS.

Dean Arnold
Presicient Corp.
www.presicient.com
Nov 22 '05 #5

P: n/a
On Thu, Feb 05, 2004 at 06:31:06PM +0100, Carlos Ojea Castro wrote:
I want to display graphics from my postgresql database, but I must
choose the proper tool first....


Wanting to "display graphics" is rather vague. Are you talking
Entity-Relationship Diagrams? Directed trees? Pie/Bar/Line charts?


Thank you for your response, Steve. I want to display Pie/Bar/Line charts


I've used the Chart module for Perl with some success. Had to hack it a
little to allow truetype fonts and some weird local requirements, but
it's nice to work with.

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"La naturaleza, tan frágil, tan expuesta a la muerte... y tan viva"

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******@postgresql.org

Nov 22 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.