http://www.statmethods.net/stats/images/CooksD.png
I thought I wanted a CategoryPlot, I can create all aspects of the plot except having the lines from the data values to the x axis. I have something very close just going from the MinMaxCategoryPlotDemo1 example and using only two sets of values, i.e.,
Code: Select all
DefaultCategoryDataset dataset = new DefaultCategoryDataset();
dataset.addValue(1.0, "First", "(50/80)");
dataset.addValue(4.0, "First", "(60/30)");
dataset.addValue(3.0, "First", "(60/60)");
dataset.addValue(5.0, "First", "(70/11)");
dataset.addValue(5.0, "First", "(70/70)");
dataset.addValue(7.0, "First", "(80/30)");
dataset.addValue(0.0, "Secnd", "(50/80)");
dataset.addValue(0.0, "Secnd", "(60/30)");
dataset.addValue(0.0, "Secnd", "(60/60)");
dataset.addValue(0.0, "Secnd", "(70/11)");
dataset.addValue(0.0, "Secnd", "(70/70)");
dataset.addValue(0.0, "Secnd", "(80/30)");
I don't have a lot of experience with the large collection of renderers available in JFreeChart so I am asking for some advice,
is it a smarter move to extend MinMaxCategoryRenderer and override drawItem, or is there a better renderer/plot type for handling the plot I am trying to create?