Package com.google.test.metric.report.chart.Histogram

Examples of com.google.test.metric.report.chart.Histogram.Linear


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);
View Full Code Here


    chart.setValues(excellentCount, goodCount, needsWorkCount);
    return chart;
  }

  public HistogramChartUrl createHistogram(int width, int height, List<Integer> costs) {
    return createHistogram(width,  height,  costs, new Linear());
  }
View Full Code Here

TOP

Related Classes of com.google.test.metric.report.chart.Histogram.Linear

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.