Package com.dianping.cat.report.page.problem

Examples of com.dianping.cat.report.page.problem.PieGraphChartVisitor.visitProblemReport()


  private void addDistributeInfo(Map<Object, Object> resultMap, ProblemReport report) {
    PieGraphChartVisitor pieChart = new PieGraphChartVisitor("error", null);
    Map<Object, Object> distributes = new HashMap<Object, Object>();

    pieChart.visitProblemReport(report);
    for (Item item : pieChart.getPieChart().getItems()) {
      distributes.put(item.getTitle(), item.getNumber());
    }
    resultMap.put("distributeMap", distributes);
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.