How to set Y axis range of of BarGraph created using ChartFactory.createBarChart
问题 I have created a bar graph using jfree.chart.ChartFactory using below code. I need to set the range of Y axis as 0 - 100. How can I set the max value. import java.io.File; import org.jfree.chart.ChartFactory; import org.jfree.chart.ChartUtilities; import org.jfree.chart.JFreeChart; import org.jfree.chart.plot.PlotOrientation; import org.jfree.data.category.DefaultCategoryDataset; public class BarGraph { public static void main( String[ ] args )throws Exception { final DefaultCategoryDataset