I started using JFreeChart to do some plotting.
I would like my chart to look like the image below:
Instead of a BoxAndWhiskerRenderer, examined here, use a MinMaxCategoryRenderer with PlotOrientation.HORIZONTAL and a custom AxisLocation.
CategoryPlot plot = (CategoryPlot) chart.getPlot();
plot.setOrientation(PlotOrientation.HORIZONTAL);
MinMaxCategoryRenderer renderer = new MinMaxCategoryRenderer();
plot.setRenderer(renderer);
plot.setRangeAxisLocation(AxisLocation.BOTTOM_OR_LEFT);
You can change the Icon used like this, or you can create your own icons based on this approach.
renderer.setObjectIcon(renderer.getMinIcon());