drawing chart from a resultset of database query

Discussion about JFreeChart related to stockmarket charts.
Locked
abed

drawing chart from a resultset of database query

Post by abed » Wed Jul 14, 2004 11:56 am

Dear Sir,

Hope you get this message in good health.

I have a problem that made me mad and hope if you know a path to tell me about to solve this problem.

I'm trying to draw charts from a database query resultset and the problem is to convert the number of coulmns I get in the resultset to Array or Vector or data and then draw those data in the Chart.

Hope you are able to help me in solving this problem.

Thanks alot for your care and help and best regards

Aabed

drlaz

Two ways

Post by drlaz » Tue Jul 20, 2004 3:33 am

You can always iterate through the recordset building up a Vector of your own, but you may also find JDBCXYDataset does what you want.

Locked