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...
How to use Hibernate and JFreeChart ?
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Re: How to use Hibernate and JFreeChart ?
For flexibility, the JFreeChart classes "read" data via specific interfaces: PieDataset, CategoryDataset, XYDataset etc. We provide some default implementations of these interfaces for data that is stored in memory. I don't know anything about Hibernate, so I can't advise the best way to access the data that Hibernate is persisting for you. Maybe you can write some code to access the data and present it via the appropriate dataset interface, or maybe it is simpler to write some code to read the data and populate one of the dataset classes provided by JFreeChart (e.g. XYSeriesCollection). Either way, you are going to have to write some code.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
Re: How to use Hibernate and JFreeChart ?
Is there a way to swap the hibernate button for the shut down button on the start menu? On my new vista laptop it has the hibernate button where the shut down one is on my computer and i find this really frustrating, is there a way i can change it so that it is the shut down button?
_____________________________
keyword research ~ keyword tool ~ keyword tracking ~ affiliate elite
_____________________________
keyword research ~ keyword tool ~ keyword tracking ~ affiliate elite