J

jfreechart

jfreechart で軸目盛の変更

jfreechart で軸目盛を変更したいときは,NumberFormatやTickUnitsクラスを利用 JFreeChart chart = ChartFactory.createHistogram(title, xAxisLabel, yAxisLabel,createData(x, bins), PlotOrientation.VERTICAL, legend, true, true); XYPlot plot = (XYP…