Hi, See I'm working on JFreeCHart - for generating charts and graphs for my application. I've worked on sample charts where the data is set to the chart by hard coding the values. Now, what I'd like to know is how to give data from the database to the chart that I need to develop.
I already have Jasper Reports and the GUI tool iReport.I've generated a sample report with Jasper Reports. I'm stuck up here . Can anybody please give me a sample code to work with my database to generate the Charts using the JFreeChart?