JFreeChart distributionChart = ChartFactory.createBarChart(null, "GO Terms", "Frequency (%)", frquencyPlotDataset, PlotOrientation.VERTICAL, false, true, true);
distributionChartPanel = new ChartPanel(distributionChart);
((CategoryPlot) distributionChartPanel.getChart().getPlot()).getDomainAxis().setCategoryLabelPositions(CategoryLabelPositions.UP_90);
BarRenderer3D renderer = new BarRenderer3D(0, 0);
renderer.setBaseToolTipGenerator(new StandardCategoryToolTipGenerator());
renderer.setSeriesPaint(0, Color.RED);
renderer.setSeriesPaint(1, peptideShakerGUI.getSparklineColor());
distributionChart.getCategoryPlot().setRenderer(renderer);
// add mouse listener
distributionChartPanel.addChartMouseListener(new ChartMouseListener() {
@Override