Auto-Scale Y-Axis in JfreeChart
问题 I am using JFreeChart to create candlestick charts in my Java app. However, my charts end up looking like this: http://imageshack.us/photo/my-images/69/capturebhx.png/ I would like to have the Y-axis automatically scaled so that the chart looks more like this: http://imageshack.us/photo/my-images/717/capture2wl.png/ I think org.jfree.chart.axis.NumberAxis.configure() will do this, but I'm not sure. I can't seem to find a way to tie my JFreeChart object, or ChartPanel object to this NumberAxis