Hi.
I want to create bar charts in my applicaion. Can you please guide me how to do it?
Thanks
Aphsal
Creating Bar Chart
Re: Creating Bar Chart
You could create a DefaultCategoryDataset with the data in the required number of categories and series. Then call ChartFactory.createVerticalBarChart giving this dataset as an argument.
That's it!
You could check out the examples in the documentation (JFreeChartDemo.java).
Gaurav Kathotia
That's it!
You could check out the examples in the documentation (JFreeChartDemo.java).
Gaurav Kathotia