Package org.sonar.api.charts

Examples of org.sonar.api.charts.ChartParameters


  }

  @Test
  public void manySeriesWithDifferentCategories() throws IOException {
    DistributionAreaChart chart = new DistributionAreaChart();
    BufferedImage image = chart.generateImage(new ChartParameters("v=0%3D5%3B1%3D22%3B2%3D2|2%3D7%3B4%3D15%3B9%3D4"));
    assertChartSizeGreaterThan(image, 1000);
    saveChart(image, "DistributionAreaChartTest/manySeriesWithDifferentCategories.png");
  }
View Full Code Here


  @Test
  public void manySeriesIncludingAnEmptySerie() throws IOException {
    // the third serie should not have the second default color, but the third one !
    DistributionAreaChart chart = new DistributionAreaChart();
    BufferedImage image = chart.generateImage(new ChartParameters("v=0%3D5%3B1%3D22%3B2%3D2||2%3D7%3B4%3D15%3B9%3D4"));
    assertChartSizeGreaterThan(image, 1000);
    saveChart(image, "DistributionAreaChartTest/manySeriesIncludingAnEmptySerie.png");
  }
View Full Code Here

    while (keys.hasMoreElements()) {
      String key = (String) keys.nextElement();
      String value = request.getParameter(key);
      map.put(key, value);
    }
    return new ChartParameters(map);
  }
View Full Code Here

TOP

Related Classes of org.sonar.api.charts.ChartParameters

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.