2526272829303132333435
import com.google.test.metric.report.chart.Histogram.Logarithmic; public class HistogramTest extends TestCase { public void testSimpleBreakdown() throws Exception { Histogram histogram = new Histogram(1, 1, 3, new Linear()); histogram.value(1); histogram.value(1); histogram.value(1); histogram.value(2); histogram.value(2);
91929394959697
chart.setValues(excellentCount, goodCount, needsWorkCount); return chart; } public HistogramChartUrl createHistogram(int width, int height, List<Integer> costs) { return createHistogram(width, height, costs, new Linear()); }