Hi all,
For example I have a barchart which has been created like;
JFreeChart chart = ChartFactory.createBarChart(
"Bar Chart ",
"X",
"Y",
dataset,
PlotOrientation.HORIZONTAL,
true,
true,
false
);
Now I want to show this chart in my swing application. How can I use chart object to be shown on screen?
Thanks for all,
My Regards
Onder.
How to export chart to swing application ?
-
- Posts: 13
- Joined: Mon May 22, 2006 3:01 pm
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
You can use the ChartPanel class.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

