private CategoryPlot createBarChartPlot(DefaultCategoryDataset dataset,
            String yAxisLabel, NumberFormat yAxisNumberFormat) {
        CategoryAxis xAxis = new CategoryAxis("Data");
        xAxis.setCategoryMargin(0.40);
        NumberAxis yAxis = new NumberAxis(yAxisLabel);
        yAxis.setNumberFormatOverride(yAxisNumberFormat);
        BarRenderer renderer = createBarChartRenderer(yAxisNumberFormat);
        CategoryPlot plot = new CategoryPlot(dataset, xAxis, yAxis, renderer);
        plot.setOrientation(PlotOrientation.VERTICAL);
        return plot;
    }
private CategoryPlot createBarChartPlot(DefaultCategoryDataset dataset,
            String yAxisLabel, NumberFormat yAxisNumberFormat) {
        CategoryAxis xAxis = new CategoryAxis("Data");
        xAxis.setCategoryMargin(0.40);
        NumberAxis yAxis = new NumberAxis(yAxisLabel);
        yAxis.setNumberFormatOverride(yAxisNumberFormat);
        BarRenderer renderer = createBarChartRenderer(yAxisNumberFormat);
        CategoryPlot plot = new CategoryPlot(dataset, xAxis, yAxis, renderer);
        plot.setOrientation(PlotOrientation.VERTICAL);
        return plot;
    }
private CategoryPlot createBarChartPlot ( DefaultCategoryDataset dataset , String yAxisLabel , NumberFormat yAxisNumberFormat ) { CategoryAxis xAxis = new CategoryAxis ( "Data" ) ; xAxis . setCategoryMargin ( 0.40 ) ; NumberAxis yAxis = new NumberAxis ( yAxisLabel ) ; yAxis . setNumberFormatOverride ( yAxisNumberFormat ) ; BarRenderer renderer = createBarChartRenderer ( yAxisNumberFormat ) ; CategoryPlot plot = new CategoryPlot ( dataset , xAxis , yAxis , renderer ) ; plot . setOrientation ( PlotOrientation . VERTICAL ) ; return plot ; }
************************************************************************
************************************************************************