More than one SQL Query

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Bruno Borges

More than one SQL Query

Post by Bruno Borges » Tue Jan 14, 2003 4:56 pm

How can I merge results from 2 JdbcCategoryDataset to build a HorizontalBarChart3D ?

David Gilbert

Re: More than one SQL Query

Post by David Gilbert » Wed Jan 15, 2003 10:43 am

Hi Bruno,

You'll need to code something yourself, perhaps a wrapper class containing the two datasets you are merging - and that implements the CategoryDataset interface.

Alternatively, you could try to merge the data with SQL before passing it to a JdbcCategoryDataset...

Regards,

Dave Gilbert

Locked