-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: How to use Hibernate and JFreeChart ?
PostPosted: Fri Jun 12, 2009 6:38 am 
Newbie

Joined: Fri Jun 12, 2009 6:06 am
Posts: 2
Location: Lahore
Hi,
I am using JFreeChart for displaying dynamic charts in a java application, and also using Hibernate as a backend to store and retrieve data from database.
To display database data on charts, obviously hibernate is required.
Can I use hibernate to display data on charts ?

Thanks...


Top
 Profile  
 
 Post subject: Re: How to use Hibernate and JFreeChart ?
PostPosted: Tue Jun 30, 2009 6:08 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
Sure - I do all the time (in a web application but the basic process is the same).
Firstly, that are two different tools in the pipeline.
(a) Hibernate to collect the data (then possible post collection manipulation)
(b) the data is then passed to code which define the graph and the constraints.
(c) JFreeChart renders the chart

I suggest you get the chart to work with some fixed hard coded data set first then create the dataset dynamically via hibernate queries.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.