LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-27-2007, 10:07 AM   #1
sidboyce
Member
 
Registered: Jan 2003
Location: Halesowen, West Midlands, UK
Distribution: SuSE 10.0/Mandriva 2006/gentoo
Posts: 89

Rep: Reputation: 15
Graphs from MySQL database?


I have a mysql database that structured with date, time and reading. I have been looking for something that would produce a graph of these values. Gnumeric is supposed to be able to do this, but there is nothing in the menu that allows it.
I checked the plugins and the "Charting" plugins are all selected, but I can't see a way to produce charts.
# l /usr/lib64/goffice/0.4.2/plugins/
total 44
drwxr-xr-x 11 root root 4096 2007-08-20 20:02 ./
drwxr-xr-x 3 root root 4096 2007-08-20 20:02 ../
drwxr-xr-x 2 root root 4096 2007-08-27 01:14 plot_barcol/
drwxr-xr-x 2 root root 4096 2007-08-27 01:14 plot_boxes/
drwxr-xr-x 2 root root 4096 2007-08-27 01:14 plot_pie/
drwxr-xr-x 2 root root 4096 2007-08-27 01:14 plot_radar/
drwxr-xr-x 2 root root 4096 2007-08-27 01:14 plot_surface/
drwxr-xr-x 2 root root 4096 2007-08-27 01:14 plot_xy/
drwxr-xr-x 2 root root 4096 2007-08-27 01:14 reg_linear/
drwxr-xr-x 2 root root 4096 2007-08-27 01:14 reg_logfit/
drwxr-xr-x 2 root root 4096 2007-08-27 01:14 smoothing/
Tried graph, plot, some stuff from graphviz and a few others, but no luck. The database has been exported as .csv, .ods, .xml, .pdf and .sql.
Any ideas? Thanks.
 
Old 08-27-2007, 10:22 AM   #2
chadl
Member
 
Registered: Sep 2005
Location: US
Distribution: Gentoo AMD64 Testing
Posts: 129

Rep: Reputation: 16
The way I would go about it is to import the csv file in to OpenOffice Calc, select the data to graph, and then tell it to make a chart out of it. It seems like extra work to try and get a program to turn the csv into a graph without going into a spreadsheet format first.
 
Old 08-27-2007, 10:29 AM   #3
sidboyce
Member
 
Registered: Jan 2003
Location: Halesowen, West Midlands, UK
Distribution: SuSE 10.0/Mandriva 2006/gentoo
Posts: 89

Original Poster
Rep: Reputation: 15
Looked again at gnumeric and I can produce a chart from the .ods file, just have to get to grips with saving and printing it.
 
Old 08-27-2007, 11:12 AM   #4
sidboyce
Member
 
Registered: Jan 2003
Location: Halesowen, West Midlands, UK
Distribution: SuSE 10.0/Mandriva 2006/gentoo
Posts: 89

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by chadl View Post
The way I would go about it is to import the csv file in to OpenOffice Calc, select the data to graph, and then tell it to make a chart out of it. It seems like extra work to try and get a program to turn the csv into a graph without going into a spreadsheet format first.
Thanks, I shall have a look at OOo again with the .csv and perhaps the .ods. I've been looking for days. The chart I produced with gnumeric I did by trial and error, nothing was really obvious, tried one thing and then another, hit "Insert", nothing happened, then clicked somwhere and up popped the chart.
BTW, I've just tried the .ods in OOo and that does the business also.
 
Old 08-28-2007, 01:51 PM   #5
sidboyce
Member
 
Registered: Jan 2003
Location: Halesowen, West Midlands, UK
Distribution: SuSE 10.0/Mandriva 2006/gentoo
Posts: 89

Original Poster
Rep: Reputation: 15
OOo Calc only imports 43 entries of the .csv file which currently has 64 entries.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql - can't access mysql database as root yogaboy Linux - Software 5 12-28-2006 06:58 AM
Writing an app that uses a mysql database without installing mysql server? QtCoder Programming 4 08-09-2004 02:43 PM
MYSQL help - mysql database missing eloviyandhi Linux - Software 1 03-20-2004 09:20 PM
Mysql database from cd JHuizingh Linux - Software 0 02-22-2003 02:08 PM
mysql database huno Linux - General 8 02-11-2003 08:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration